PDA

View Full Version : Getting .php as source


MarcoV
16th November 2005, 23:26
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: !