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 30th March 2009, 14:55
luposoft luposoft is offline
Junior Member
 
Join Date: Mar 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default Error 500 when try to open a php site

Hi, I have a ISPConfig 3 on a new Debinan 5.0 Lenny Server.
I have make the first site and upload in some phpfile (example a phpinfo.php).
If I try to open the .php file I receive Error 500.
Html file works fine.
In ISPConfig --> Web Domain -->PHP I have enabled FAST-CGI
Can somebody Help me?
Reply With Quote
Sponsored Links
  #2  
Old 30th March 2009, 19:10
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Take a look in the error log of the website.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 31st March 2009, 00:57
luposoft luposoft is offline
Junior Member
 
Join Date: Mar 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default this is the log

This is in the log when try to open .php file

[Tue Mar 31 00:54:36 2009] [warn] (104)Connection reset by peer: mod_fcgid: read data from fastcgi server error.
[Tue Mar 31 00:54:36 2009] [error] [client 79.32.224.84] Premature end of script headers: phpinfo.php


What I must to do to repair???
Reply With Quote
  #4  
Old 31st March 2009, 08:54
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

There seem to be a few packages for the fastcgi server missing in your setup or they had been compiled with wrong settings. Please make sure that you installed all packages listed in this guide before you installed ISPConfig:

http://www.howtoforge.com/perfect-se...nny-ispconfig3
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 31st March 2009, 10:51
luposoft luposoft is offline
Junior Member
 
Join Date: Mar 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
Default phpmyadmin works fine

I have installed all packages listed in the guide.
If i try to run phpmyadmin it works fine.
I think that php don't run only in the /var/www sites.

Somebody have idea about?
Reply With Quote
  #6  
Old 31st March 2009, 11:24
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Please post the output of:

php -v
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
The Following User Says Thank You to till For This Useful Post:
luposoft (1st April 2009)
  #7  
Old 1st April 2009, 11:36
luposoft luposoft is offline
Junior Member
 
Join Date: Mar 2009
Posts: 4
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

I don't know why but now php work.
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
ffmpeg Video support for ubuntu 7.10 [suphp-ispconfig] amaurib Installation/Configuration 13 16th February 2010 17:26
ISP Config hesitation when opening web pages frankb Installation/Configuration 7 15th December 2008 13:06
ispconfig php 5 errors itamarjp Installation/Configuration 8 25th April 2008 10:20
network issues now it says "401 The web site is blocked by administrator" Check General 3 26th February 2008 14:22
Apache2 Freezes celtic Server Operation 31 28th May 2007 17:18


All times are GMT +2. The time now is 03:14.


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