From: [EMAIL PROTECTED]
Operating system: Linux - Red Hat 7.1
PHP version: 4.0.6
PHP Bug Type: Apache related
Bug description: apache core dumps when started with a php.ini in /usr/local/lib
Just Compile 4.0.6 (Apache-1.3.20 DSO) amazingly all the
stuff I compiled in worked. When I have a php.ini in
/usr/local/lib and try to start the server it bombs out (the
back trace is below). The cgi version seems to work
accordingly and report all modules working correctly (via
php_info()). The apache config file seems correct aswell.
Any help would be greatly appreciated. This is on a stock
Red Hat 7.1 system.
(gdb) bt
#0 0x405b4d63 in virtual_file_ex (state=0xbfffd5b8,
path=0xbfffc580 "/usr/local/lib/php.ini", verify_path=0)
at tsrm_virtual_cwd.c:335
#1 0x404bf6e0 in expand_filepath (
filepath=0xbfffe690 "/usr/local/lib/php.ini", real_path=0x0)
at fopen_wrappers.c:531
#2 0x404bedcf in php_fopen_and_set_opened_path (
path=0xbfffe690 "/usr/local/lib/php.ini",
mode=0x406a7ec8 "r",
opened_path=0x40738364) at fopen_wrappers.c:237
#3 0x404bf44e in php_fopen_with_path (filename=0x406a7eca
"php.ini",
mode=0x406a7ec8 "r", path=0x8120e8c ".:/usr/local/lib",
opened_path=0x40738364) at fopen_wrappers.c:414
#4 0x404bfbd8 in php_init_config
(php_ini_path_override=0x0) at php_ini.c:240
#5 0x404bd93f in php_module_startup (sf=0x40737260) at
main.c:827
#6 0x404bb1e8 in php_apache_startup
(sapi_module=0x40737260) at mod_php4.c:259
#7 0x404bbcd6 in php_init_handler (s=0x80f1890,
p=0x80f1868) at mod_php4.c:744
#8 0x08083dda in ap_init_modules () at eval.c:41
#9 0x0808e340 in main () at eval.c:41
#10 0x4019c177 in __libc_start_main (main=0x808df9c <main>,
argc=1,
ubp_av=0xbffff8ec, init=0x8053268 <_init>,
fini=0x80c6300 <_fini>,
rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffff8dc)
at ../sysdeps/generic/libc-start.c:129
--
Edit bug report at: http://bugs.php.net/?id=12425&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]