Re: PHP 5.2.3 - Segmentation fault (core dumped) [SOLVED]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/12/07, Zbigniew Szalbot <zszalbot@xxxxxxxxx> wrote:
> Hello,
>
> 2007/9/12, Daniel Brown <parasane@xxxxxxxxx>:
> >     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
>

    Heh.  Yup, you're right.... forgot the ! to indicate NOT in the second case.

-- 
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[mobile] (570-) 766-8107

Give a man a fish, he'll eat for a day.  Then you'll find out he was
allergic and is hospitalized.  See?  No good deed goes unpunished....

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux