Ubuntu12.10 default installation php5-fpm no listening port 9000, nginx cannot link php5-fpm fix upgrade to ubuntu12.10 nginx reported 502 error, php cannot run. Netstat-an does not find listening to Port 9000. View/var/log/php5-fpm ubuntu 12.10
Ubuntu12.10 default installation php5-fpm no listening port 9000, nginx cannot link php5-fpm fix upgrade to ubuntu12.10 nginx reported 502 error, php cannot run. Netstat-an does not find listening to Port 9000. View the varlogphp5-fpm.log everything
Install Nginx under Ubuntu (Nginx + Php5-fpm) nginx introduction I will not be arrogant, first talk about the system installation environment.
0. installation environment
System: Ubuntu 14.04
PHP version: 5.5.9
Existing server software:
Install Nginx under Ubuntu (Nginx + Php5-fpm), nginxphp5-fpm
I won't bother with the introduction of nginx. Let's talk about the system installation environment first.
0. installation environment
System: Ubuntu 14.04
PHP version: 5.5.9
Existing
Error appearing in PHP5-FPM when configuring LNMP is installed in ubuntu12.04
2013/04/26 04:01:05 [Crit] 6119#0: *4 connect () to Unix:/var/run/php5-fpm.sock failed (2:no such file or directory) while Connecting to upstream, client:159.53.110.141,
Ubuntu 12.10 Default installation PHP5-FPM No monitoring 9000 port, Nginx cannot link php5-fpm fix
After upgrading to Ubuntu 12.10 Nginx reported 502 error, PHP will not run.
Netstat-an not found listening on port 9000.
View/var/log/php5-fpm.log
Nginx Introduction I will not wordy, first say the installation environment of the system.
0. Installation Environment
System: Ubuntu 14.04
PHP version: 5.5.9
Existing Server Software: Apache (basic not affected, will be mentioned later)
1.
Digression: Because of the near time test environment SSH link quality is not good, often short-term. Therefore, the entire installation process is placed in screen to prevent disconnection from interrupting the installation process. Execute the
Add fastcgi_paramSCRIPT_FILENAME $ document_root $ fastcgi_script_name on the Internet. The problem persists! Add by online
Fastcgi_param SCRIPT_FILENAME $ document_root $ fastcgi_script_name;
Still invalid. solve it!
Reply content:
Add by
1, php-fpm Poo Pond:Purpose: Can make different Web sites, for different PHP parsing, can be different sites to separate the parsing area.Editor:vim/usr/local/php5-fpm/etc/php-fpm.confJoin:[Test]Listen =/tmp/php-test.sockListen.mode = 666user =
This article describes how to configure nginx + php-fpm mode in buntu10.04. For more information, see
Install php-fpm using ppaInstallation Kit
The code is as follows:
$ Sudo apt-get install python-software-properties
Add ppa source
The code is
1: Preface in the past, debian was used as the development server as apache and needs to switch to nginx for work. Sometimes both of them should be used. Make a simple note. Note that this article is only on debian7 (wheezy. Other operating systems
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.