From:             
Operating system: CentOS 5 i686
PHP version:      5.3.2
Package:          FPM related
Bug Type:         Bug
Bug description:compile php 5.3.2 with php-fpm error

Description:
------------
i download the php source tarball from php.net.

and check out lastest version of php-fpm from SVN.



then,i run the

./configure --prefix=/usr/local/php --bindir=/usr/local/bin

--sbindir=/usr/local/sbin --sysconfdir=/etc/sysconfig

--enable-embed=shared --enable-fpm --enable-safe-mode

--enable-sigchild --enable-magic-quotes --enable-fd-setsize=100

--enable-calendar --enable-dba=shared --enable-exif --enable-ftp

--enable-gd-native-ttf --enable-intl --enable-mbstring

--enable-embedded-mysqli --enable-pcntl --disable-phar --enable-shmop

--enable-soap --enable-sockets --enable-wddx --enable-zip

--enable-zend-multibyte --with-libxml-dir

--with-libevent-dir=/usr/local/libevent --with-fpm-user=php

--with-fpm-group=php --with-config-file-path=/etc

--with-exec-dir=/usr/local/bin --with-openssl --with-kerberos

--with-pcre-regex --with-zlib --with-bz2 --with-curl --with-gd

--with-mhash --with-imap --with-imap-ssl --with-ldap --with-ldap-sasl

--with-mcrypt --with-mysql=/usr/local/mysql

--with-mysql-sock=/tmp/mysql.sock

--with-mysqli=/usr/local/bin/mysql_config

--with-pdo-mysql=/usr/local/bin/mysql_config --with-xmlrpc --with-pear



it seems to be ok,and run make command.it looks like NO error appears,too



but when i run the make install,it gives some information below:

[r...@powerpc php-5.3.2]# make install

/bin/sh /root/php-5.3.2/libtool --silent --preserve-dup-deps

--mode=install cp ext/dba/dba.la /root/php-5.3.2/modules

Installing PHP SAPI module:       fpm

Installing PHP CLI binary:        /usr/local/bin/

Installing PHP CLI man page:      /usr/local/php/man/man1/

Installing shared extensions:

/usr/local/php/lib/php/extensions/no-debug-non-zts-20090626/

Installing PHP FPM binary:        /usr/local/sbin/

Installing PHP FPM config:        /etc/sysconfig/

Installing PHP FPM man page:      /usr/local/php/man/man1/

Installing build environment:     /usr/local/php/lib/php/build/

Installing header files:          /usr/local/php/include/php/

Installing helper programs:       /usr/local/bin/

 program: phpize

 program: php-config

Installing man pages:             /usr/local/php/man/man1/

 page: phpize.1

 page: php-config.1

Installing PEAR environment:      /usr/local/php/lib/php/

make[1]: *** [install-pear-installer] Segmentation fault

make: *** [install-pear] Error 2



I Do Not know what caused it..



and i run the php-fpm ,it returns "Segmentation fault"

Test script:
---------------
See my configure string

Expected result:
----------------
Install Success and php-fpm works OK.

Actual result:
--------------
Segmentation fault

-- 
Edit bug report at http://bugs.php.net/bug.php?id=51587&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=51587&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=51587&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=51587&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=51587&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=51587&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=51587&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=51587&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=51587&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=51587&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=51587&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=51587&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=51587&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=51587&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=51587&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=51587&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=51587&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=51587&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=51587&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=51587&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=51587&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=51587&r=mysqlcfg

Reply via email to