NYCPHP Meetup

NYPHP.org

[nycphp-talk] PHP segmentation fault with custom-compiled binaries-Zen Cart

Jayesh Sheth jayeshsh at ceruleansky.com
Mon Feb 14 12:17:15 EST 2005


Hi Hans,

thanks for your follow-up.

>/ did, since it also serves as a guide for other people. Originally, I
/>/ tried compiling PHP 5 by linking it against the system MySQL libraries -
/>/ by using --with-mysql=/usr. But for some reason, that was not working.
/>/ The configure script would produce an error when I tried that. I
/
>What error?

>What kind of a box is this?  64 bit by chance?

Re: 32 bit or 64 bit - it think it's 32 bit, but I will confirm with the 
host.

The ./configure script fails with this error:

configure: error: mysql configure failed. Please check config.log for 
more information.

The complete ./configure directive was:
------
./configure --prefix=/home/singerm/php5_debug 
--enable-force-cgi-redirect --enable-debug 
--with-config-file-path=/home/singerm/etc/php5_debug/ --with-xml 
--with-libxml-dir=/home/singerm/php/lib --enable-soap 
--with-xsl=/home/singerm/php/lib --with-mysql=/usr 
--with-openssl=/home/singerm/php/lib --with-curl=/home/singerm/php/lib 
--with-mhash=/home/singerm/php/lib --with-mcrypt=/home/singerm/php/lib 
--with-zlib-dir=/home/singerm/php/lib --with-jpeg-dir=/usr/ 
--with-png-dir=/usr/ --with-gd --enable-gd-native-ttf --enable-ftp 
--enable-sockets --enable-wddx --with-iconv --enable-soap 
--with-config-file-path=/home/singerm/etc/ >
-----
I have posted the entire config.log here:
http://www.moztips.com/mysql_php5_debug/config.log

Maybe that log will have clues in it regarding this problem.

Best regards,

- Jay



More information about the talk mailing list