Comment 1 for bug 186547

Revision history for this message
Mathias Gug (mathiaz) wrote : Re: [Bug 186547] [NEW] Include a non-exist file caused segmentation fault

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 ?

  status incomplete

--
Mathias