php-developer-list | 2000101
Date: 10/14/00
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #7197 Updated: cosmetic - duplicate entries in ./configure --help"
- Previous message: david <email protected>: "[PHP-DEV] PHP 4.0 Bug #7213: Read a file into a variable with one call"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 7211
User Update by: sailor <email protected>
Status: Open
Bug Type: Apache related
Description: APXS CFlags not set
btw since it might not be obvious from the patch, $APXS_CFLAGS is set above in the script while it checks for apxs's existance
Previous Comments:
---------------------------------------------------------------------------
[2000-10-14 17:32:46] sailor <email protected>
If apache was compiled with different CFLAGS than php (specifically in my case, perl had largefile support, so mod_perl compiled apache with it... and then php didn't realize that), then it could segfault upon attempting to fulfill a request
Though it may have been easier just to recompile perl without largefile support, I decided to get to the source of the problem instead.
Here is a short patch to the config script that should solve the problem (works for me)
diff -u php-4.0.3/sapi/apache/config.m4 php/sapi/apache/config.m4
--- php-4.0.3/sapi/apache/config.m4 Mon Sep 11 09:01:07 2000
+++ php/sapi/apache/config.m4 Sat Oct 14 17:02:24 2000
@@ -55,6 +55,9 @@
AC_DEFINE(HAVE_AP_CONFIG_H,1,[ ])
AC_DEFINE(HAVE_AP_COMPAT_H,1,[ ])
AC_MSG_RESULT(yes)
+ AC_MSG_CHECKING(for APXS CFLAGS)
+ AC_MSG_RESULT($APXS_CFLAGS)
+ CFLAGS="$CFLAGS $APXS_CFLAGS"
],[
AC_MSG_RESULT(no)
])
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7211
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Bug Database: "[PHP-DEV] PHP 4.0 Bug #7197 Updated: cosmetic - duplicate entries in ./configure --help"
- Previous message: david <email protected>: "[PHP-DEV] PHP 4.0 Bug #7213: Read a file into a variable with one call"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

