ID: 19130 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: Apache2 related Operating System: Linux PHP Version: 4.2.2 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip There were a number of fixes pertaining to crashes in Apache2 in the 4.3.0-dev tree. Please try the snapshot and see if it fixes the problem you are seeing. Previous Comments: ------------------------------------------------------------------------ [2002-09-21 13:15:14] [EMAIL PROTECTED] > There's no '--with-apxs2' in your configure line. There is one, I just forget to put it on the pasted texts of the message. By the way, the same problem is available with PHP 4.2.3. Nothing work and I don't know any body being able to make it work with Apache2 since the begining. PHP compile without error but refuse to work when enable inside the apache configuration file. The only way to make it work is to directly compile it inside the httpd daemon. As a DSO module, it simply *not* work at all. ------------------------------------------------------------------------ [2002-09-21 02:12:46] [EMAIL PROTECTED] No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. ------------------------------------------------------------------------ [2002-08-28 12:47:32] [EMAIL PROTECTED] setting to feedback ------------------------------------------------------------------------ [2002-08-27 22:14:38] [EMAIL PROTECTED] There's no '--with-apxs2' in your configure line..so is that really the one you used? Also note that Apache2 support in any released version of PHP is experimental and not supposed to be used for any production yet. ------------------------------------------------------------------------ [2002-08-27 15:59:23] [EMAIL PROTECTED] Running Apache 2.0.40 or previous versions work fine as long as I'm not adding PHP support with it. If module "libphp4.so" is compiled and added into the Apache configuration file, then nothing work and Apache refuse to start (no process). Here is the output of the command "gdb httpd": Program received signal SIGSEGV, Segmentation fault. 0x005434bd in virtual_file_ex () from /etc/httpd/modules/libphp4.so (gdb) where #0 0x005434bd in virtual_file_ex () from /etc/httpd/modules/libphp4.so #1 0x004a0052 in expand_filepath () from /etc/httpd/modules/libphp4.so #2 0x0049f346 in php_fopen_and_set_opened_path () from /etc/httpd/modules/libphp4.so #3 0x0049fbcf in php_fopen_with_path () from /etc/httpd/modules/libphp4.so #4 0x004a069b in php_init_config () from /etc/httpd/modules/libphp4.so #5 0x0049ceb1 in php_module_startup () from /etc/httpd/modules/libphp4.so #6 0x0049a068 in php_apache_server_startup () from /etc/httpd/modules/libphp4.so #7 0x0806616a in ap_run_post_config () #8 0x0806b4b8 in main () #9 0x002cd3b2 in __libc_start_main () from /lib/libc.so.6 The compile/configure options lines used to build PHP are: ./configure \ --prefix=/usr \ --with-layout=GNU \ --with-config-file-path=/etc \ --with-exec-dir=/usr/bin \ --with-openssl \ --with-zlib \ --with-bz2 \ --with-gd \ --with-ttf \ --with-png \ --with-jpeg-dir=/usr \ --with-png-dir=/usr \ --with-freetype-dir=/usr \ --with-expat-dir=/usr \ --with-gmp \ --with-xml \ --with-imap=shared \ --with-imap-ssl \ --with-mysql=shared,/usr \ --with-mysql-sock=/var/lib/mysql/mysql.sock \ --with-pgsql=shared \ --with-ldap=shared \ --with-pspell \ --without-pic \ --disable-debug \ --disable-rpath \ --disable-posix \ --enable-force-cgi-redirect \ --enable-discard-path \ --enable-safe-mode \ --enable-magic-quotes \ --enable-pic \ --enable-dmalloc \ --enable-bcmath \ --enable-dio \ --enable-gd-native-ttf \ --enable-sysvsem \ --enable-sysvshm \ --enable-track-vars \ --enable-wddx \ --enable-inline-optimization \ --enable-memory-limit Regards, ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19130&edit=1
