#48926 [Bgs]: Configure option --enable-fastcgi doesn't work
ID: 48926 User updated by: abel dot martin dot ruiz at gmail dot com Reported By: abel dot martin dot ruiz at gmail dot com Status: Bogus Bug Type: Compile Failure Operating System: RHEL 5 PHP Version: 5.2.10 New Comment: OK. I did what you told me and everything works like a charm. Thanks for your help. Previous Comments: [2009-07-16 13:31:28] j...@php.net 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! [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] j...@php.net 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=48926edit=1
#48926 [Fbk-Opn]: Configure option --enable-fastcgi doesn't work
ID: 48926 User updated by: abel dot martin dot ruiz at gmail dot com Reported By: abel dot martin dot ruiz at gmail dot com -Status: Feedback +Status: Open Bug Type: Compile Failure Operating System: RHEL 5 PHP Version: 5.2.10 New Comment: 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! Previous Comments: [2009-07-15 16:03:50] j...@php.net 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=48926edit=1
#48926 [NEW]: Configure option --enable-fastcgi doesn't work
From: abel dot martin dot ruiz at gmail dot com Operating system: RHEL 5 PHP version: 5.2.10 PHP Bug Type: *Compile Issues Bug description: Configure option --enable-fastcgi doesn't work 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 bug report at http://bugs.php.net/?id=48926edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=48926r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=48926r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=48926r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=48926r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=48926r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=48926r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=48926r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=48926r=needscript Try newer version: http://bugs.php.net/fix.php?id=48926r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=48926r=support Expected behavior: http://bugs.php.net/fix.php?id=48926r=notwrong Not enough info: http://bugs.php.net/fix.php?id=48926r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=48926r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=48926r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=48926r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=48926r=dst IIS Stability: http://bugs.php.net/fix.php?id=48926r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=48926r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=48926r=float No Zend Extensions: http://bugs.php.net/fix.php?id=48926r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=48926r=mysqlcfg