Page 1 of 1

PHP files being downloaded and not processed

Posted: Tue Apr 24, 2007 4:50 am
by spartan7
I have a major problem. I just had a server installed (CentOS, latest stable versions of php,mysql, gd, apache ect) for me and everything works great EXCEPT when I try to access a PHP page the browser tries to download the file instead of process it.

The server cpanels and whm and that work FINE so obviously PHP is being processed under those conditions...But when I add an ordinary hosting account then PHP files don't get processed, the browser wants to download them.

Please assist...Thanks

Posted: Tue Apr 24, 2007 7:10 am
by feyd
It sounds like the type/handler isn't added for those accounts.

Look up the installation instructions regarding AddType and/or AddHandler in the PHP documentation.