Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th April 2012, 09:46
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default ISPconfig 3 and nginx

Been trying nginx and ispconfig 3.
I just cant seem to get it to work.

Setup a site as usual.
Tried a simple test.php <?php phpinfo(); ?> and that displays properly.

But if I unzip a standard wordpress installation I just keep getting error 500.
Nothing in the logs at all.

Just resource temporarily unavailable.

Setup is based on the howtoforge guide with Debian 6, nginx + php5-fpm from dotdeb.
Any idea what may cause this? Known issue?
__________________
http://www.xh.se
Reply With Quote
Sponsored Links
  #2  
Old 15th April 2012, 23:30
Norman Norman is offline
HowtoForge Supporter
 
Join Date: May 2006
Posts: 242
Thanks: 0
Thanked 18 Times in 14 Posts
Default

Found the issue. Turns out in the php version that debian and ubuntu uses short php tags isn't supported by default. One of the scripts had a short php tag.


However, I have another issue.
If a php script takes a long time to load (long DB query) and times out and delivers whatever data has been processed so far.
Any new php query on that worker will just return error 500 until the php5-fpm is restarted.

Anyone have an idea what may be the cause of this?
__________________
http://www.xh.se
Reply With Quote
  #3  
Old 16th April 2012, 11:01
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts
 
Default

Have you tried the fastcgi_read_timeout directive? You can put it into /etc/nginx/fastcgi_params (e.g. with a value of 240 (= 4 minutes)).
__________________
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
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
ISPConfig & nginx - PHP Inside HTML Files Not Executing MainStreetJames Installation/Configuration 6 11th May 2012 21:31
ispconfig 3.0.3.1 with nginx - updates give "Error while sending INIT_DB packet" talkingnews General 3 20th December 2011 13:28
Version 1.3 of the ISPConfig 3 Manual is finally available! falko General 44 2nd December 2011 13:04
Nginx doesn´t restart after installation of ISPConfig 3 cyprus Installation/Configuration 2 6th November 2011 19:48
A Working Nginx Catchall with ISPConfig 3. renders Tips/Tricks/Mods 4 15th April 2011 22:53


All times are GMT +2. The time now is 19:56.


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