\n
1、#cp httpd-2.0.47.tar.gz 到/usr/local/
2、#tar zxvf php-4.3.3.tar.gz
3、#cd php-4.3.3
4、#./configure –with-mysql –with-apxs2=/usr/local/apache/bin/apxs
#./configure -with-apache=/path/to/apache/dir -with-mysql=/usr/local/mysql \n
2、#tar zxvf php-4.3.3.tar.gz
3、#cd php-4.3.3
4、#./configure –with-mysql –with-apxs2=/usr/local/apache/bin/apxs
#./configure -with-apache=/path/to/apache/dir -with-mysql=/usr/local/mysql \n
热门分类
推荐阅读
- PHP Composer报错Your requirements could not be resolved to an installable set of versions的排查方法(composer why-not定位冲突、平台约束与版本约束调整)
- PHP连接MySQL报错SQLSTATE[HY000] [2002] No such file or directory与Connection refused的排查方法(localhost与127.0.0.1区别、socket路径与3306端口定位)
- PHP报错Allowed memory size of 134217728 bytes exhausted的解决方法(memory_limit调整、memory_get_usage定位与内存泄漏排查)
- PHP-FPM日志报server reached pm.max_children setting的排查与解决方法(pm.max_children计算与slowlog定位慢请求)
- PHP上传大文件失败返回413或$_FILES为空的解决方法(upload_max_filesize与nginx client_max_body_size配置)