Home >Backend Development >PHP Tutorial >Install and compile source code php5611
Installing php is based on installing apache and mysql. You can refer to my blog about installing mysql and apache source code.
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
To be continued The installation of the accelerator. . . .
Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.
The above introduces the installation and compilation of the source code php5611, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.