Forum Moderators: phranque

Message Too Old, No Replies

Virtual Server upgrade problems

         

switchjohnny

11:54 pm on Jul 24, 2005 (gmt 0)

10+ Year Member



I had a linux "expert" upgrade php 4.2.2 to 4.3.2 on my VDS and since then, my webalizer and custom error pages do not work.

When I try to go to the webalizer or custom error pages, it gives me the option to save a .php file.

<snip>

Is this a php.ini setting or http.config setting?

Any help would be great.

Thanks

[edited by: jdMorgan at 11:59 pm (utc) on July 24, 2005]
[edit reason] No URLs, please. See Terms of Service. [/edit]

ChadSEO

7:44 pm on Jul 25, 2005 (gmt 0)

10+ Year Member



The first thing that I would look at is the php.ini file. Search for a parameter called default_mimetype, it should be set to "text/html".

switchjohnny

12:08 am on Jul 26, 2005 (gmt 0)

10+ Year Member



I checked the php.ini and default_mimetype, was set to "text/html".

Any other ideas?

switchjohnny

6:56 pm on Jul 27, 2005 (gmt 0)

10+ Year Member



I fixed the problem.

In the http.conf files this line needed to be added

addtype x-mapp-php4 .htm .html .php

thanks for the help.