安装php是建立在安装apache和mysql之上的,可以参考我安装mysql和apache源码安装的博客。
tar -zxvf php-5.6.11.tar.gz
cd php-5.6.11
./configure --prefix=/usr/local/php --with-apxs2=/usr/local/apache/bin/apxs --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --with-openssl --with-zlib --enable-bcmath --with-bz2 --with-curl --enable-ftp --with-gd --enable-gd-native-ttf --with-gettext --with-mhash --enable-mbstring --with-mcrypt --enable-soap --enable-zip --with-ic/local/libiconv --with-mysql=/usr/local/mysql --without-pear
make
make install
立即学习“PHP免费学习笔记(深入)”;
未完待续加速器的安装。。。。
版权声明:本文为博主原创文章,未经博主允许不得转载。
以上就介绍了安装编译源码php5611,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号