What are the skills in the process of Nginx php installation
This article will explain in detail what skills are involved in the Nginx php installation process. The quality of the article is high, so Xiaobian shares it with you as a reference. I hope you have a certain understanding of relevant knowledge after reading this article.
For every network administration practitioner, whether developers, project managers, or testers, mastering Nginx php makes our programming tasks easier and easier. Here is the installation support for Nginx php.
Compile and install Nginx php (FastCGI mode)
tar zxvf php-5.2.6.tar.gz
gzip -cd php-5.2.6-fpm-0.5.8.diff.gz | patch -d php-5.2.6 -p1
cd php-5.2.6/
./ configure --prefix=/usr/local/php --with-config-file-path=
/usr/local/php/etc --with-mysql=/usr/local/mysql
--with-mysqli=/usr/local/mysql/bin/mysql_config --enable
-fastcgi --enable-fpm --enable-force-cgi-redirect
sed -i 's#-lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt
#& -liconv#' Makefile
then directly
make make install cp php.ini-dist /usr/local/php/etc/php.ini cd ../
Compile and install PHP5 extension module
tar zxvf memcache-2.2.3.tgz cd memcache-2.2.3/ [root@test memcache-2.2.3]# /usr/local/php/bin/phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 ./ configure --with-php-config=/usr/local/php/bin/php-config make make install cd ../ tar jxvf eaccelerator-0.9.5.3.tar.bz2 cd eaccelerator-0.9.5.3/ /usr/local/php/bin/phpize ./ configure --enable-eaccelerator=shared --with-php-config=/usr/local/php/bin/php-config make make install cd ../ About Nginx php installation process skills have what to share here, I hope the above content can have some help for everyone, you can learn more knowledge. If you think the article is good, you can share it so that more people can see it.