Hi all,
I complied php 5.3.10 on CentOS 6.2 and it OK.
But when i restart php-fpm, i have got some error and it show
[code]WARNING: [pool web] child 16356 said into stderr: "ERROR: [pool web] failed to setuid(501): Resource temporarily unavailable (11)"
WARNING: [pool web] child 16356 said into stderr: "ERROR: [pool web] child failed to initialize", pipe is closed[/code]
CPU load 100% when this process php-fpm running...
[img]http://i397.photobucket.com/albums/pp55/lalala747/Congdonglinux/php-fpm.jpg[/img]
First i see this error and i don't know how i have to do ?
can you help me, please..
Thanks All
Problem with php-fpm on centos 6.2
-
- Retired Moderator
- Posts: 18276
- Joined: 2006/12/13 20:15:34
- Location: Tidewater, Virginia, North America
- Contact:
Problem with php-fpm on centos 6.2
It is apparently [b]not[/b] OK.
Please review the recommended reading and particularly [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url] and [url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url], and note the warnings and advice about installing and configuring the [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities plugin[/url]. Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.
Please pay particular attention to the evils of [url=http://wiki.centos.org/PackageManagement/SourceInstalls]Source Installs[/url]. Source installs as root are particularly dangerous. Running web applications as root is also dangerous.
IUS and Remi have packages for php-5.3.10:[code]
# yum --noplugins --enablerepo ius,remi list php\*5.3.10\*
Available Packages
php.x86_64 5.3.10-2.el6.remi remi
php-bcmath.x86_64 5.3.10-2.el6.remi remi
php-cli.x86_64 5.3.10-2.el6.remi remi
php-common.x86_64 5.3.10-2.el6.remi remi
php-dba.x86_64 5.3.10-2.el6.remi remi
php-devel.x86_64 5.3.10-2.el6.remi remi
php-embedded.x86_64 5.3.10-2.el6.remi remi
php-enchant.x86_64 5.3.10-2.el6.remi remi
php-fpm.x86_64 5.3.10-2.el6.remi remi
php-gd.x86_64 5.3.10-2.el6.remi remi
php-imap.x86_64 5.3.10-2.el6.remi remi
php-interbase.x86_64 5.3.10-2.el6.remi remi
php-intl.x86_64 5.3.10-2.el6.remi remi
php-ldap.x86_64 5.3.10-2.el6.remi remi
php-mbstring.x86_64 5.3.10-2.el6.remi remi
php-mcrypt.x86_64 5.3.10-2.el6.remi remi
php-mssql.x86_64 5.3.10-2.el6.remi remi
php-mysql.x86_64 5.3.10-2.el6.remi remi
php-mysqlnd.x86_64 5.3.10-2.el6.remi remi
php-oci8.x86_64 5.3.10-2.el6.remi remi
php-odbc.x86_64 5.3.10-2.el6.remi remi
php-pdo.x86_64 5.3.10-2.el6.remi remi
php-pgsql.x86_64 5.3.10-2.el6.remi remi
php-process.x86_64 5.3.10-2.el6.remi remi
php-pspell.x86_64 5.3.10-2.el6.remi remi
php-recode.x86_64 5.3.10-2.el6.remi remi
php-snmp.x86_64 5.3.10-2.el6.remi remi
php-soap.x86_64 5.3.10-2.el6.remi remi
php-sqlite.x86_64 5.3.10-2.el6.remi remi
php-tidy.x86_64 5.3.10-2.el6.remi remi
php-xml.x86_64 5.3.10-2.el6.remi remi
php-xmlrpc.x86_64 5.3.10-2.el6.remi remi
php53u.x86_64 5.3.10-1.ius.el6 ius
php53u-bcmath.x86_64 5.3.10-1.ius.el6 ius
php53u-cli.x86_64 5.3.10-1.ius.el6 ius
php53u-common.x86_64 5.3.10-1.ius.el6 ius
php53u-dba.x86_64 5.3.10-1.ius.el6 ius
php53u-debuginfo.x86_64 5.3.10-1.ius.el6 ius
php53u-devel.x86_64 5.3.10-1.ius.el6 ius
php53u-embedded.x86_64 5.3.10-1.ius.el6 ius
php53u-enchant.x86_64 5.3.10-1.ius.el6 ius
php53u-fpm.x86_64 5.3.10-1.ius.el6 ius
php53u-gd.x86_64 5.3.10-1.ius.el6 ius
php53u-imap.x86_64 5.3.10-1.ius.el6 ius
php53u-intl.x86_64 5.3.10-1.ius.el6 ius
php53u-ldap.x86_64 5.3.10-1.ius.el6 ius
php53u-litespeed.x86_64 5.3.10-1.ius.el6 ius
php53u-mbstring.x86_64 5.3.10-1.ius.el6 ius
php53u-mcrypt.x86_64 5.3.10-1.ius.el6 ius
php53u-mssql.x86_64 5.3.10-1.ius.el6 ius
php53u-mysql.x86_64 5.3.10-1.ius.el6 ius
php53u-odbc.x86_64 5.3.10-1.ius.el6 ius
php53u-pdo.x86_64 5.3.10-1.ius.el6 ius
php53u-pgsql.x86_64 5.3.10-1.ius.el6 ius
php53u-process.x86_64 5.3.10-1.ius.el6 ius
php53u-psa-compat.x86_64 5.3.10-1.ius.el6 ius
php53u-pspell.x86_64 5.3.10-1.ius.el6 ius
php53u-recode.x86_64 5.3.10-1.ius.el6 ius
php53u-snmp.x86_64 5.3.10-1.ius.el6 ius
php53u-soap.x86_64 5.3.10-1.ius.el6 ius
php53u-tidy.x86_64 5.3.10-1.ius.el6 ius
php53u-xml.x86_64 5.3.10-1.ius.el6 ius
php53u-xmlrpc.x86_64 5.3.10-1.ius.el6 ius
php53u-zts.x86_64 5.3.10-1.ius.el6 ius
[/code]
Please review the recommended reading and particularly [url=http://www.centos.org/modules/newbb/viewtopic.php?topic_id=14408&forum=47]Installing Software[/url] and [url=http://wiki.centos.org/AdditionalResources/Repositories]Repositories[/url], and note the warnings and advice about installing and configuring the [url=http://wiki.centos.org/PackageManagement/Yum/Priorities]yum priorities plugin[/url]. Non-core repos should have a higher numeric value, which is a lower priority. Lower is "better" as in golf scores.
Please pay particular attention to the evils of [url=http://wiki.centos.org/PackageManagement/SourceInstalls]Source Installs[/url]. Source installs as root are particularly dangerous. Running web applications as root is also dangerous.
IUS and Remi have packages for php-5.3.10:[code]
# yum --noplugins --enablerepo ius,remi list php\*5.3.10\*
Available Packages
php.x86_64 5.3.10-2.el6.remi remi
php-bcmath.x86_64 5.3.10-2.el6.remi remi
php-cli.x86_64 5.3.10-2.el6.remi remi
php-common.x86_64 5.3.10-2.el6.remi remi
php-dba.x86_64 5.3.10-2.el6.remi remi
php-devel.x86_64 5.3.10-2.el6.remi remi
php-embedded.x86_64 5.3.10-2.el6.remi remi
php-enchant.x86_64 5.3.10-2.el6.remi remi
php-fpm.x86_64 5.3.10-2.el6.remi remi
php-gd.x86_64 5.3.10-2.el6.remi remi
php-imap.x86_64 5.3.10-2.el6.remi remi
php-interbase.x86_64 5.3.10-2.el6.remi remi
php-intl.x86_64 5.3.10-2.el6.remi remi
php-ldap.x86_64 5.3.10-2.el6.remi remi
php-mbstring.x86_64 5.3.10-2.el6.remi remi
php-mcrypt.x86_64 5.3.10-2.el6.remi remi
php-mssql.x86_64 5.3.10-2.el6.remi remi
php-mysql.x86_64 5.3.10-2.el6.remi remi
php-mysqlnd.x86_64 5.3.10-2.el6.remi remi
php-oci8.x86_64 5.3.10-2.el6.remi remi
php-odbc.x86_64 5.3.10-2.el6.remi remi
php-pdo.x86_64 5.3.10-2.el6.remi remi
php-pgsql.x86_64 5.3.10-2.el6.remi remi
php-process.x86_64 5.3.10-2.el6.remi remi
php-pspell.x86_64 5.3.10-2.el6.remi remi
php-recode.x86_64 5.3.10-2.el6.remi remi
php-snmp.x86_64 5.3.10-2.el6.remi remi
php-soap.x86_64 5.3.10-2.el6.remi remi
php-sqlite.x86_64 5.3.10-2.el6.remi remi
php-tidy.x86_64 5.3.10-2.el6.remi remi
php-xml.x86_64 5.3.10-2.el6.remi remi
php-xmlrpc.x86_64 5.3.10-2.el6.remi remi
php53u.x86_64 5.3.10-1.ius.el6 ius
php53u-bcmath.x86_64 5.3.10-1.ius.el6 ius
php53u-cli.x86_64 5.3.10-1.ius.el6 ius
php53u-common.x86_64 5.3.10-1.ius.el6 ius
php53u-dba.x86_64 5.3.10-1.ius.el6 ius
php53u-debuginfo.x86_64 5.3.10-1.ius.el6 ius
php53u-devel.x86_64 5.3.10-1.ius.el6 ius
php53u-embedded.x86_64 5.3.10-1.ius.el6 ius
php53u-enchant.x86_64 5.3.10-1.ius.el6 ius
php53u-fpm.x86_64 5.3.10-1.ius.el6 ius
php53u-gd.x86_64 5.3.10-1.ius.el6 ius
php53u-imap.x86_64 5.3.10-1.ius.el6 ius
php53u-intl.x86_64 5.3.10-1.ius.el6 ius
php53u-ldap.x86_64 5.3.10-1.ius.el6 ius
php53u-litespeed.x86_64 5.3.10-1.ius.el6 ius
php53u-mbstring.x86_64 5.3.10-1.ius.el6 ius
php53u-mcrypt.x86_64 5.3.10-1.ius.el6 ius
php53u-mssql.x86_64 5.3.10-1.ius.el6 ius
php53u-mysql.x86_64 5.3.10-1.ius.el6 ius
php53u-odbc.x86_64 5.3.10-1.ius.el6 ius
php53u-pdo.x86_64 5.3.10-1.ius.el6 ius
php53u-pgsql.x86_64 5.3.10-1.ius.el6 ius
php53u-process.x86_64 5.3.10-1.ius.el6 ius
php53u-psa-compat.x86_64 5.3.10-1.ius.el6 ius
php53u-pspell.x86_64 5.3.10-1.ius.el6 ius
php53u-recode.x86_64 5.3.10-1.ius.el6 ius
php53u-snmp.x86_64 5.3.10-1.ius.el6 ius
php53u-soap.x86_64 5.3.10-1.ius.el6 ius
php53u-tidy.x86_64 5.3.10-1.ius.el6 ius
php53u-xml.x86_64 5.3.10-1.ius.el6 ius
php53u-xmlrpc.x86_64 5.3.10-1.ius.el6 ius
php53u-zts.x86_64 5.3.10-1.ius.el6 ius
[/code]
Re: Problem with php-fpm on centos 6.2
You need to adjust your configuration...check this post [url=http://gadelkareem.com/2012/02/29/install-php-5-3-10-with-php-fpm-on-centos-6-2-64-bit/]Install PHP 5.3.10 with PHP-FPM on CentOS 6.2[/url]