Re: PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]
| From: | Zbigniew Szalbot | Date: | Wed, 12 Sep 2007 20:52:53 +0000 |
| Subject: | Re: PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED] | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262059@lists.php.net to get a copy of this message | ||
Hello,
2007/9/12, Daniel Brown <parasane@gmail.com>:
> No problem at all.
Your help was very much appreciated!
>
> Now my guess at explaining it....
>
> Notice how
IfModule mod_php5.c if only mentioned when
> nested
> inside of the IfModule mod_php3.c container. If you want to
> have
> the intelligent-detection of PHP's availability, you should be able to
> update this:
>
> <IfModule mod_dir.c>
> DirectoryIndex index.php index.php3 index.html index.htm
> </IfModule>
>
> .... like so:
>
> <IfModule mod_dir.c>
> <IfModule mod_php5.c>
> DirectoryIndex index.php index.php3 index.html index.htm
> </IfModule>
> <!IfModule mod_php5.c>
> DirectoryIndex index.html index.htm
> </IfModule>
> </IfModule>
By now you almost made me an expert :) and the above should actually say:
<IfModule mod_dir.c>
<IfModule mod_php5.c>
DirectoryIndex index.php index.php3 index.html index.htm
</IfModule>
<IfModule !mod_php5.c>
DirectoryIndex index.html index.htm
</IfModule>
</IfModule>
Regards,
Zbigniew Szalbot