php 在Linux下的安装
1、获取php源码
wget http://cn2.php.net/get/php-5.6.6.tar.gz/from/this/mirror
mv mirror php-5.6.6.tar.gz
tar -zxvf php-5.6.6.tar.gz
cd php-5.6.6
2、./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-apxs2=/usr/local/httpd/bin/apxs --enable-sysvsem --with-curl --enable-mbregex --enable-mbstring --with-mcrypt --with-gd --with-openssl --with-mhash --enable-sockets --with-xmlrpc --with-zlib --enable-pdo --with-pdo-mysql
yum install libxml2-devel -y
yum install libcurl-devel
yum install gd-devel
mcrypt 废弃,重新:./configure --prefix=/usr/local/php --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-apxs2=/usr/local/httpd/bin/apxs --enable-sysvsem --with-curl --enable-mbregex --enable-mbstring --with-gd --with-openssl --with-mhash --enable-sockets --with-xmlrpc --with-zlib --enable-pdo --with-pdo-mysql
3、make && make install
4、配置apache
最新文章
- shell 输出九九乘法表
- JMeter执行dos命令
- PHP站内搜索、多关键字、加亮显示
- JSON 格式介绍
- Matlab与C/C++联合编程之Matlab以MEX方式调用C代码(五)完整过程加示
- Entity Framework学习 - 3.关联查询
- 删除MySQL重复数据
- HDFS(Hadoop Distributed File System )
- fiddler基本介绍
- 关于JSP页面URL传值所遇到的小问题
- [SDOI 2009]HH去散步
- sharepoint环境安装
- IOS开发protocol使用
- CCNet: Criss-Cross Attention for Semantic Segmentation 里的Criss-Cross Attention计算方法
- burpsuit 无法导入证书,抓取https的解决办法
- fedora23 桌面工具栏fedy, 桌面美化 allow: 2'lau不是2'l2u
- Java实现随机生成车牌号
- Android开发--ZZ:Android APK反编译详解(附图)
- Eigen学习之Array类
- Linux下配置Samba服务器全过程
热门文章
- 迭代器概念与traits编程技法
- [Vue + TS] Watch for Changes in Vue Using the @Watch Decorator with TypeScript
- iOS开发之剖析&;quot;秘密&;quot;App内容页面效果(一)
- mybatis Generator生成代码及使用方式(转载)
- linux RHEL 修改hostname 不需要重启机器
- hdoj-1214-圆桌会议【逆序数】
- kafka02
- [Codeplus 2017] 晨跑
- C++ 指针 部分
- Ruby   离奇方法