On 9/12/07, Zbigniew Szalbot <[EMAIL PROTECTED]> 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.

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

Reply via email to