The following content appears,
+ -------------------------------------------------------------------- +
| License: |
| This software is subject to the PHP License, available in this |
| Distribution in the file LICENSE. By continuing this installation |
| Process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| The installation process at this point. |
+ -------------------------------------------------------------------- +
Thank you for using PHP.
Install
# Make
# Make install
Mobile
Php. ini # Cp/usr/local/php-5.3.8/php. ini-development/usr/local/php/lib/php. ini
About php-fpm Php5.3.8 includes php-fpm by default,
Php-fpm configuration file php-fpm.conf in/usr/local/php/etc <============ of course you have to watch php installed there
Php-fpm.conf file name here is php-fpm.conf.default
# Cp php-fpm.conf.default php-fpm.conf <========== copy a copy and rename
Php-fpm under/usr/local/php/sbin/
#/Usr/local/php/sbin/php-fpm ======== start php-fpm
Startup error Resolution: ALERT: [pool www] pm. min_spare_servers (0) must be a positive value
Edit the php-fpm.conf to find the pm. min_spare_servers removal; number, note that the non-commented content pm. min_spare_servers
ALERT: [pool www] pm. max_spare_servers (0) must be a positive value
Edit the php-fpm.conf to find the pm. max_spare_servers removal; number, which is also not annotated with pm. max_spare_servers
WARNING: [pool www] pm. start_servers is not set. It's been set to 20.
Edit the php-fpm.conf to locate pm. start_servers removal;, which is also not annotated with pm. start_servers
ERROR: bind () for address '127. 0.0.1: 9000 'failed: Address already in use (98)
# Netstat-ntlpps-ef | grep php: Check the process. There are N multi-process instances.
Nobody 26152 26151 0? 00:00:00 php-fpm: pool www
Nobody 26153 26151 0? 00:00:00 php-fpm: pool www
Nobody 26154 26151 0? 00:00:00 php-fpm: pool www
Nobody 26155 26151 0? 00:00:00 php-fpm: pool www
...........................
# Killall php-fpm end all php-fpm Processes
Start php-fpm again
#/Usr/local/php/sbin/php-fpm
Successful
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.