#19130 [Opn->Fbk]: Program received signal SIGSEGV, Segmentation fault.
| From: | kalowsky@php.net | Date: | Wed, 28 Aug 2002 16:47:32 +0000 |
| Subject: | #19130 [Opn->Fbk]: Program received signal SIGSEGV, Segmentation fault. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-18063@lists.php.net to get a copy of this message | ||
ID: 19130
Updated by: kalowsky@php.net
Reported By: wahibn@hotmail.com
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Linux
PHP Version: 4.2.2
New Comment:
setting to feedback
Previous Comments:
------------------------------------------------------------------------
[2002-08-27 22:14:38] sniper@php.net
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] wahibn@hotmail.com
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