centos7编译安装php
来源:互联网 发布:天祥网络 编辑:程序博客网 时间:2024/06/05 10:12
1.进Php.net官网下载tar.gz包,
wget http://..................
tar -zxvf php*.tar.gz
yum install gcc gcc++ libxml-devel
2.cd php解压包目录
3../configure --prefix=/usr/local/php5628 --enable-fpm
./configure --with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-openssl
./configure –prefix=/data/home/xingzheng/install/php-5.5.10 –with-libxml-dir=/data/xingzheng/install/libxml2-2.7.2 –enable-
sockets=shared –with-mysql=shared,mysqlnd
4.make && make install
5.打开防火墙:firewall-cmd --zone=public --add-port=80/tcp --permanent
systemctl restart firewalld.service
或直接 systemctl stop firewalld.service(不安全,只适合内网)
5.未完待续
0 0
- centos7编译安装php
- centos7编译安装php
- Centos7.2编译安装php-7.0.13
- centos7搭建lnmp编译安装php【一】
- centos7 redis、php扩展编译与安装
- centos7 下php+mysql+php7编译安装
- Linux centos7 php7 编译安装 php 扩展包 curl
- centOS7下编译安装nginx-1.12.2+php-7.1.9
- centos7 源码编译PHP前的依赖安装
- centos7编译安装apache
- CentOS7编译安装Python2
- centos7编译安装mysql
- CentOS7 编译安装Nginx
- CentOS7编译安装Nginx
- centos7 nginx编译安装
- CentOS7编译安装Nginx
- centos7编译安装redis
- centos7 Apache编译、安装
- UVA 156 Ananagrams
- 获取Android设备的唯一序列号
- 实验_百度定位
- maven profile介绍
- 实用字符处理函数库:cctype(ctype.h)
- centos7编译安装php
- Codeforces 213E
- wifi基本知识
- UDP协议基础
- 类型转换
- UVA540 Team Queue(模拟:队列)
- framebuffer
- The request was denied by service delegate (SBMainWorkspace) for reason: Security ("Entitlement "com
- OkHttp3 (四)——Cookie与拦截器