Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the skills in the process of Nginx php installation

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report