I have just installed ISPConfig. it runs fine on port 81 but when i try to access my normal server on port 80 all my PHP source is printed. i have checked /etc/httpd/conf.d/php.conf and it is using Code: LoadModule php5_module modules/libphp5.so i think it use to use: Code: ##ISPConfig INSTALL## AddHandler php5-script .php ##ISPConfig INSTALL## AddType text/html .php but as you can the ISPConfig install has commented these lines out. i checked /etc/httpd/modules and libphp5.so was there so i think it should be loading it. i also looked in the httpd error log and it reports normal start so no errors about php. dose anyone know how to fix this. Scott.
That's normal. ISPConfig disables PHP globally so that you can enable or disable PHP on a per-site basis in ISPConfig. Just set up a web site in ISPConfig and enable PHP for it.
"and enable PHP for it", ... I have enabled PHP for 10 iferent hosting plans, and still php won't work. As I can see it is common question on forum and nobody know real answer !!! Could someone define steps to detect error. please help
The question is not really common and there are many answers in the forum. 1) Which linux ddistribtion do you use? Did you install everything exactly as described in the perfect setup guide for your linux distribution? 2) Make sure that you installed mod_php 3) have a look in the Vhost_ispconfig.conf file, if php is enabled in the vhost.
solved problem tnx. everything working fine http://www.howtoforge.com/forums/showthread.php?t=20707&goto=newpost