Hey guys,
When I try to view a .php file it pops up a box to save or view the file. PHP seems to be installed on my machine but how can I check and if not, install? I'm very new to VPS's and WHM.
Thanks,
Alex
Hey guys,
When I try to view a .php file it pops up a box to save or view the file. PHP seems to be installed on my machine but how can I check and if not, install? I'm very new to VPS's and WHM.
Thanks,
Alex
Sounds like the Apache configuration is messed up. Fixing it depends upon whether PHP is being used as a module or cgi binary.
If a module, check for the proper AddType statement in /usr/local/apche/conf/httpd.conf, like this:
Code:AddType application/x-httpd-php .php AddType application/x-httpd-php .php4 AddType application/x-httpd-php .php3 AddType application/x-httpd-php-source .phps AddType application/x-httpd-php .phtml