These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for php not working on a subdomain on the new forum.
Hello,
I just installed virtualmin 4.04 on a fresh Debian 7. Trying to install Sugarcrm on both domain and a subdomain. Everything did work fine for the domain site (proximinformatique.com). Doing exactly the same installation on subdomain (uploaded sugarcrm files on public_html directory) does not have the same effect : When i open the site (http://pxcrm.proximinformatique.com) the php source is displayed not executed.
I saw a few topics on the same subject but no solution...
php -v shows PHP 5.4.4-14+deb7u7 (cli) (built: Dec 12 2013 08:42:07) i renamed .htaccess, no effect...
Thanks for your help
Howdy,
For that Sub-Server, take a look in Server Configuration -> Website Options, and make sure that it's set to CGI or FCGID, and not mod_php.
There seems to be an issue in some cases where that can be default to mod_php, which can cause some unexpected behavior.
-Eric
It works fine with Fast CGI Thanks !