Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 17th September 2011, 02:41
clintcan clintcan is offline
Junior Member
 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default PHP Code showing instead of running

Hi all,

I've installed ispconfig3 on a CentOS 6 server (I've installed ispconfig 2 in the past along with different versions of linux, with much success, and I decided to take the plunge and try version 3 out). Everything works, except for php on a site which I added.

I've tried the different settings for php: Disabled, mod-php, fcgi, cgi, etc, it doesn't work at all, and just shows the php code, so I'm stuck.

Could you help me out please? It would be much appreciated.

Thanks
Reply With Quote
Sponsored Links
  #2  
Old 17th September 2011, 11:35
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
Default

Which tutorial (URL) did you use?
Any errors in your Apache error log?

Did you check the vhosts created by ISPConfig if they have PHP in it?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th September 2011, 14:45
clintcan clintcan is offline
Junior Member
 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Falko,

Thanks anyways, I solved it. Found out php 5.3 disables short tags by default (unlike 5.2).
Reply With Quote
  #4  
Old 17th September 2011, 14:52
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
Default

Quote:
Originally Posted by clintcan View Post
Hi Falko,

Thanks anyways, I solved it. Found out php 5.3 disables short tags by default (unlike 5.2).
Gotta love that! I hate short tags .. it's for lazy people and xml!
__________________
Real men don't backup... Real men cry!

http://www.e-rave.nl/
Reply With Quote
  #5  
Old 17th September 2011, 15:16
clintcan clintcan is offline
Junior Member
 
Join Date: Jul 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by Mark_NL View Post
Gotta love that! I hate short tags .. it's for lazy people and xml!
- It's funny though, so many php programs use short tags that disabling short tags cause all sorts of problems. :P
Reply With Quote
  #6  
Old 17th September 2011, 17:40
Mark_NL Mark_NL is offline
Senior Member
 
Join Date: Sep 2008
Location: The Netherlands
Posts: 912
Thanks: 12
Thanked 100 Times in 96 Posts
 
Default

Well it's their own fault. People should keep to the rules and write pretty code imho.
__________________
Real men don't backup... Real men cry!

http://www.e-rave.nl/
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiserver setup: repquota command not found. CSsab Installation/Configuration 2 27th January 2011 15:11
Unable to install ISPConfig bdonecker Installation/Configuration 21 26th May 2009 08:20
Newly Installed ISPConfig3 on Ubuntu 8.04 : login redirect fail ? cripperz Installation/Configuration 5 22nd March 2009 12:15
php eating cpu shajazzi Server Operation 15 15th August 2007 01:19
Downgrade php5 to php4.4.2 llizards Installation/Configuration 4 13th March 2006 23:58


All times are GMT +2. The time now is 23:45.


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