Now this code may not be 100% accurate but for php to work apache it must load the following modules in the httpd.conf. A php 5 module/statement would not hurt either. # # PHP 3.x: # <IfModule mod_php3.c> AddType application/x-httpd-php3 .php3 AddType application/x-httpd-php3-source .phps AddType application/x-httpd-php3 .phtml </IfModule> # # PHP 4.x: # <IfModule mod_php4.c> AddType application/x-httpd-php .php .html AddType application/x-httpd-php .php4 AddType application/x-httpd-php-source .phps </IfModule> # What is the preferred way to load and/or check that this is working in ispconfig3? Thanks
You can copy /usr/local/ispconfig/server/conf/vhost.conf.master to /usr/local/ispconfig/server/conf-custom/vhost.conf.master and then adjust the new file to your needs. Templates in the conf-custom folder take precedence over the ones in the conf directory.