ID: 48926 Updated by: [email protected] Reported By: abel dot martin dot ruiz at gmail dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: RHEL 5 PHP Version: 5.2.10 New Comment:
Ah. You can't build 3 SAPIs the same time. It's either CGI and CLI or Apache and CLI. This is not a bug. Also this is wrong: --with-mcrypt=/usr/local/lib NEVER ever add /lib in any paths passed to configure options! Previous Comments: ------------------------------------------------------------------------ [2009-07-16 06:47:27] abel dot martin dot ruiz at gmail dot com I didn't do a "make clean", true. The line was this: ./configure --enable-bcmath --enable-dba --with-gd --with-ldap --enable-mbstring --with-mcrypt=/usr/local/lib --with-mysql --with-unixODBC=/usr --with-pear --with-snmp --enable-zip --with-openssl --with-pdo-mysql --with-mhash --enable-soap --with-curl --enable-ftp --enable-fastcgi I configured the sources from a fresh untarred tarball with the line above and I got fcgi support: PHP 5.2.10 (cgi-fcgi) (built: Jul 16 2009 08:31:45) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies Another thing I noticed (done with newly untarred sources, again) is that php-cgi doesn't get built if I enable mod_php with --with-apxs2=/usr/sbin/apxs before --enable-fastcgi. Not sure if both options are mutually exclusive). This was the line: ./configure --enable-bcmath --enable-dba --with-gd --with-ldap --enable-mbstring --with-mcrypt=/usr/local/lib --with-mysql --with-unixODBC=/usr --with-pear --with-snmp --enable-zip --with-openssl --with-pdo-mysql --with-mhash --enable-soap --with-curl --enable-ftp --with-apxs2=/usr/sbin/apxs --enable-fastcgi Thanks for your quick reply! ------------------------------------------------------------------------ [2009-07-15 16:03:50] [email protected] What was the full configure line? Did you do it on clean sources where configure hadn't been run before? Where there any warnings about unknown options after configure? "make clean" ? ------------------------------------------------------------------------ [2009-07-15 13:01:18] abel dot martin dot ruiz at gmail dot com Description: ------------ Fastcgi support isn't enabled even though configure is invoked with option --enable-fastcgi. When running ./sapi/cgi/php-cgi -v the ouput is: PHP 5.2.10 (cgi) (built: Jul 15 2009 08:28:33) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies Note the (cgi) instead of the expected (cgi-fcgi). ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48926&edit=1
