Re: PHP 5.2.3 - Segmentation fault (core dumped)

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

 



Hello,

2007/9/12, Daniel Brown <parasane@xxxxxxxxx>:
> On 9/12/07, Zbigniew Szalbot <zszalbot@xxxxxxxxx> wrote:
> > 2007/9/12, Daniel Brown <parasane@xxxxxxxxx>:
> > > On 9/12/07, Zbigniew Szalbot <zszalbot@xxxxxxxxx> 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
> >
>
>     Was it in there before you last started Apache?  If not, you
> should restart Apache for it to take effect.

Indeed it was. Error log does not show anything special when I run a
php file in browser and it shows directory content.

Thanks!

zbigniew szalbot

-- 
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