From: germann at gmx dot de Operating system: Linux PHP version: 5.0.2 PHP Bug Type: *Compile Issues Bug description: php (cgi) binary does not compile with apxs2 configured
Description: ------------ When I compile PHP with apxs2 for Apache2 the cgi binary won't be build. Even if I try to force it with "--enable-cgi" there is no binary placed in "sapi/cgi/" after executing make. Reproduce code: --------------- ./configure \ --prefix=/usr \ --sysconfdir=/etc \ --with-apxs2=/usr/local/apache/bin/apxs \ --with-config-file-path=/etc \ --enable-cgi \ --enable-force-cgi-redirect \ --enable-discard-path \ --enable-safe-mode \ --enable-memory-limit \ --enable-versioning \ --enable-magic-quotes \ --with-pear \ --with-openssl=/usr \ --with-zlib=/usr \ --with-mysql Expected result: ---------------- As mentioned in http://de2.php.net/manual/en/features.commandline.php: "By default when executing make, both the CGI and CLI are built and placed as sapi/cgi/php and sapi/cli/php respectively, in your PHP source directory." Actual result: -------------- myhost:/usr/src/php-5.0.2 # ls sapi/cgi/ . .. CREDITS Makefile.frag README.FastCGI cgi_main.c config.w32 config9.m4 getopt.c libfcgi php.sym php_getopt.h -- Edit bug report at http://bugs.php.net/?id=30682&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30682&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30682&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30682&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=30682&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=30682&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=30682&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=30682&r=needscript Try newer version: http://bugs.php.net/fix.php?id=30682&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=30682&r=support Expected behavior: http://bugs.php.net/fix.php?id=30682&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=30682&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=30682&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=30682&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30682&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=30682&r=dst IIS Stability: http://bugs.php.net/fix.php?id=30682&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=30682&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=30682&r=float MySQL Configuration Error: http://bugs.php.net/fix.php?id=30682&r=mysqlcfg
