Re: PHP 5.2.3 - Segmentation fault (core dumped)
| From: | Zbigniew Szalbot | Date: | Wed, 12 Sep 2007 18:54:10 +0000 |
| Subject: | Re: PHP 5.2.3 - Segmentation fault (core dumped) | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-262034@lists.php.net to get a copy of this message | ||
2007/9/12, Daniel Brown <parasane@gmail.com>:
> On 9/12/07, Zbigniew Szalbot <zszalbot@gmail.com> wrote:
> > There's only one problem left to be solved. After the upgrade php
> > scripts behave as if they were not recognized. I made a test and put a
> > standard index.html file in a directory, called a browser and the page
> > was displayed properly. I then changed the page name to index.php and
> > ran the browser again. This time the directory content was displayed,
> > showing the index.php file present in it (it wasn't parsed by the
> > browser). When I reloaded, the page content was finally displayed in a
> > browser.
> >
> > So in other words it seems as if the "php" page was not properly
> > parsed at first. It happens the same way with my wordpress family
> > blog. It just shows directory content and when I click refresh
> > index.php is called into the broser. But links to further php pages
> > result in directory being shown again.
> >
> > I do have:
> > AddType application/x-httpd-php .php
> > AddType application/x-httpd-php-source .phps
> > inside httpd.conf.
> >
> > Thoughts anyone? Again thank you so much for so many responses. I read
> > them all and they were very helpful!
>
> Add index.php to your DirectoryIndex area of httpd.conf and that
> will fix it.
Thank you but I think it is already there?
<IfModule mod_dir.c>
<IfModule mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.php3 index.html
</IfModule>
<IfModule mod_php5.c>
DirectoryIndex index.php index.php3 index.html
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.php3 index.html
</IfModule>
</IfModule>
<IfModule !mod_php3.c>
<IfModule mod_php4.c>
DirectoryIndex index.php index.html
</IfModule>
<IfModule !mod_php4.c>
DirectoryIndex index.html
</IfModule>
</IfModule>
</IfModule>
Thanks again!
Zbigniew Szalbot