HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Getting .php as source (http://www.howtoforge.com/forums/showthread.php?t=1281)

MarcoV 16th November 2005 23:26

Getting .php as source
 
I followed the perfect setup debian sarge howto today and finished it, then i installed ispconfig it was all working fine, at least until i change something in apache2.conf and restarted apache2 with /etc/init.d/apache2 restart.
Now i am getting my .php files as the source text.

Does someone has a solution for this problem, or now where i have to look to fix this?

falko 17th November 2005 01:00

What did you change in your apache2.conf?

MarcoV 17th November 2005 07:29

To enable name look up for apache, i changed it back off but then i stell get the .php files as there source

falko 17th November 2005 09:53

Where do you see the PHP sources? In a web site you created with ISPConfig (did you enable PHP for that web site in ISPConfig?), or in a web site that existed before you installed ISPConfig?

MarcoV 17th November 2005 11:29

In a website that excisted before i installed ispconfig

till 17th November 2005 11:31

ISPConfig disables PHP for existing sites. Create the site in ISPConfig again and copy the contents of the existing site to the new directory created by ISPConfig.

MarcoV 17th November 2005 14:23

It is working now, i have configured ispconfig and it is working like it should.
I gues when i restarted apache to apply the changes i made he also restarted with the changes ispconfig made.

Edit:
Just wanted to say that ispconfig is very nice to work with, and it is free too:cool: !


All times are GMT +2. The time now is 11:09.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.