Hello,

i have a problem with my apache and php configuration.
I have a couple of sites running some php applications like, phpBB,Postnuke,Xoops, Mambo, etc... and everything was running fine.
From two weeks ago something very strange has started to open. When some visit the site, is receiving a lot of download messages asking if they want to open or save the php files that made the application, instead of running it.

does one know this error and how to solve it? In the beginning i thought that it was from Mozilla, so i tried with Internet explorer, Konqueror, Opera, and all of them of giving me the same error, which only can means that the error is coming from the Apache and PHP environment.

Regards,

D.

    Something must have happened at that time. Which OS/apache/PHP do you have ? Is this a permanent problem or does it happen more or less randomly ?

    Thomas

      I have fedora code 2, and the problem is constant, it is simply doing the same thing in the last two weeks.

      REgards.
      D.

        make sure the apache conf file not changed: at least you should have configure like:

        AddType application/x-httpd-php .php

        in your httpd.conf

        This sounds like apache's problem

          Additionally, make sure that the LoadModule directive exists in (and with Apache 1.3.x the AddModule directive, too) httpd.conf.

          Check the Apache error log for any error messages regarding the php module.

          Did you update any software/packages ? Check the system for any hardware problems or e.g. disk space shortage. Sometimes you'll get strange errors/problems if the size of one or more Apache log files hit the filesize limit.

          Thomas

            Write a Reply...