Hi all, Ive installed ISPconfig, and it worked fine! but.. i wanted to install php with pgsql support, so i followed the setup on this forum (add --with-php-pgsql) and reinstalled. this one -> http://www.howtoforge.com/forums/showthread.php?t=193&highlight=postgresql That went ok, but now, when i go to a site i see the php code (also added index.phtml and normal phtml files to work with isp config a few threads earlier) When i rename the index.phtml to index.php i also see the code, when i create a file called test.php and put <? phpinfo(); ?> in it, it Works! so.. i renamed index.php to test.php....and i just saw code again... what could be the problem? thnx in advance tijn
Sorry if you've though of this (I am a noob). Have you enabled php in the control panel for that site?
It still doenst work iam trying everything i can find, but no luck Help plz, server has to go live in a couple of days thnx in advance!
The php you recompiled has nothing to do with your websites, you recompiled the ISPConfig php version for the adminpanel. Just install the php pacakges available for your linux distribution. Thats all If you dont know how to set this up, have a look at the perfect setup guides mentioned on the ISPconfig documentation page.
Ah ok, thnx till, Next problem is still there, all my sites now dont show php anymore.. after reisntall of ispconfig. What does work. i create a new site, take the content of an old one, copy it...and it works! so know i have te recreate about 70 sites :S ah well it works.. Thnx for the help! tijn
Yes, but the sites WHERE made by ispconfig, i did a reinstall with pgsql for phppgadmin, all sites should be working (they are all under sites in ISPconfig) But they wont
Sites created by ISPConfig use always the php from your linux distribution. They NEVER use the PHP from ISPConfig (which you recompiled for pgsql). The ISPConfig PHP is only for backend tasks of the controlpanel and not used for hosting sites. Just insall mod_php from your linux distribution plus the php-gqsql package and you are done. Please have also a look at the perfect setup howtos, the installation is described there.