On Mon, Jan 28, 2008 at 08:11:30AM -0000, Finjon Kiang wrote:
> Test script:
> <?php include('this_file_is_not_there.php'); ?>
>
> Apache Error log:
> [Mon Jan 28 16:08:33 2008] [notice] child pid 14463 exit signal Segmentation fault (11)
>
> Executed from command line:
> php -q test.php
>
> Warning: include(this_file_is_not_there.php): failed to open stream: No
> such file or directory in /home/kiang/public_html/test.php on line 1
>
> Warning: include(): Failed opening 'this_file_is_not_there.php' for
> inclusion (include_path='.:/usr/share/php:/usr/share/pear') in
> /home/kiang/public_html/test.php on line 1
>
I cannot reproduce your problem. A test script run under mod_php gives
the expected result (same as the command line output).
Could you post the list of your enabled modules ? (ls -l
/etc/apache2/mods-enabled)
Could you attach your apache configuration ?
On Mon, Jan 28, 2008 at 08:11:30AM -0000, Finjon Kiang wrote: 'this_file_ is_not_ there.php' ); ?> this_file_ is_not_ there.php) : failed to open stream: No public_ html/test. php on line 1 is_not_ there.php' for path='. :/usr/share/ php:/usr/ share/pear' ) in public_ html/test. php on line 1
> Test script:
> <?php include(
>
> Apache Error log:
> [Mon Jan 28 16:08:33 2008] [notice] child pid 14463 exit signal Segmentation fault (11)
>
> Executed from command line:
> php -q test.php
>
> Warning: include(
> such file or directory in /home/kiang/
>
> Warning: include(): Failed opening 'this_file_
> inclusion (include_
> /home/kiang/
>
I cannot reproduce your problem. A test script run under mod_php gives
the expected result (same as the command line output).
Could you post the list of your enabled modules ? (ls -l mods-enabled)
/etc/apache2/
Could you attach your apache configuration ?
status incomplete
--
Mathias