Edit report at http://bugs.php.net/bug.php?id=52507&edit=1
ID: 52507 Comment by: lys0212 at qq dot com Reported by: lys0212 at qq dot com Summary: 5.3.3 php-fpm start failed Status: Bogus Type: Bug Package: *General Issues Operating System: linux 5.5 PHP Version: 5.3.3 Block user comment: N New Comment: oh,i see! thank you very much! it means that i must change the php-fpm.conf like php.ini format . To do this,it will be a very big projectï¼ Previous Comments: ------------------------------------------------------------------------ [2010-07-31 19:39:03] ras...@php.net Right, php-fpm-0.6-5.3.1/generate-fpm-patch shows that you patched the standard default PHP distribution with your own version of php-fpm you got from somewhere else. The PHP version of FPM does not support XML configuration files. ------------------------------------------------------------------------ [2010-07-31 19:33:40] lys0212 at qq dot com the follows show how i install 5.3.2,it can use php-fpm.conf to start: it support xml format ,5.3.3 don't support? rm -Rf php-5.3.2 fpm.patch php-fpm-0.6-5.3.1; tar xvf php-fpm-0.6~5.3.1.tar.gz; ./php-fpm-0.6-5.3.1/generate-fpm-patch ; #å¨å½åç®å½ä¸äº§çfpm.patchæä»¶ï¼ tar xvf php-5.3.2.tar.gz; cd php-5.3.2; patch -p1 < ../fpm.patch ; ./buildconf --force; mkdir fpm-build cd fpm-build #CC=gcc CHOST="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O6 -pipe" CXXFLAGS="${CFLAGS}" ../configure --prefix=/web/software/php \ --with-mysql=mysqlnd --with-mysqli=mysqlnd \ --with-pdo-mysql=mysqlnd \ --with-jpeg-dir=/web/software/jpeg6 \ --with-png-dir=/web/software/libpng2 \ --with-freetype-dir=/web/software/freetype2 \ --with-curl=/web/software/curl \ --with-zlib-dir=/web/software/zlib \ --disable-ipv6 --enable-sockets --disable-debug \ --with-mcrypt=/web/software/libmcrypt \ --enable-fastcgi \ --with-fpm \ --with-libevent=/web/software/libevent-1.4.13/ \ --with-config-file-path=/web/software/php/lib \ --enable-xml --disable-rpath --enable-discard-path \ --enable-safe-mode --enable-bcmath --enable-shmop \ --enable-sysvsem --enable-inline-optimization --with-curl \ --with-curlwrappers --enable-mbregex \ --enable-force-cgi-redirect --enable-mbstring --with-gd \ --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl \ --with-ldap --with-ldap-sasl --with-xmlrpc --enable-zip --enable-soap --without-pear \ --with-fpm-conf=/web/software/php/lib/php-fpm.conf make -j8 && make install || sleep 5 ------------------------------------------------------------------------ [2010-07-31 19:28:48] ras...@php.net There was no FPM sapi in PHP-5.3.2 so I don't know what code you are running, but it didn't come from us. ------------------------------------------------------------------------ [2010-07-31 19:27:20] lys0212 at qq dot com thank you! the php-fpm.conf include xml context can use at php5.3.2,but when i update to php5.3.3 ,php-fpm start failed .you means that the php5.3.3 don't support xml format? ------------------------------------------------------------------------ [2010-07-31 19:22:04] ras...@php.net You are using the wrong configuration file format. PHP's FPM implementation uses .ini format like the rest of PHP, not XML. See http://www.php.net/manual/es/install.fpm.configuration.php And also the sample bundled php-fpm.conf file ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/bug.php?id=52507 -- Edit this bug report at http://bugs.php.net/bug.php?id=52507&edit=1