LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [solved] 500 Errors - Request Timeout

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2012, 12:47 AM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
Default [solved] 500 Errors - Request Timeout

Hi Everyone,

Have an issue with one account on our servers.
If you try and bring up the site with LS enabled, it simply stalls and delivers this message:

Request Timeout

This request takes too long to process, it is timed out by the server. If it should not be timed out, please contact administrator of this web site to increase 'Connection Timeout'.

I've tried everything, including removing the php.ini and .htaccess and making sure permissions are fine on the account - but to no avail.

Switching back to Apache resolves the issue and the account loads without issue.

Can anybody recommend what I might be able to do to get this account working??

Last edited by NiteWave; 03-08-2012 at 09:49 PM..
Reply With Quote
  #2  
Old 03-07-2012, 01:47 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
have you built matching php ? compare phpinfo() under litespeed and apache, to be sure first they matches.
Reply With Quote
  #3  
Old 03-07-2012, 02:25 AM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
Hi,

Yes I have built the matching PHP - plus I have also enabled the easyapache hook and recompiled again just to make sure.

Unfortunately it's impossible to compare the phpinfo output from both, because nothing will load from that account when Litespeed is activated.

However, using another account and comparing both outputs from apache and litespeed reveal no differences that I was able to see.
Reply With Quote
  #4  
Old 03-07-2012, 10:26 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
Quote:
Originally Posted by craigles View Post
..
Unfortunately it's impossible to compare the phpinfo output from both, because nothing will load from that account when Litespeed is activated.

...
If not mistaken, the issue is only for this particular account. Other accounts are OK. Do you have any per user php.ini setup, etc? how about a simple index.php like the following?
Quote:
<?php echo "hello world" ?>
Reply With Quote
  #5  
Old 03-07-2012, 12:38 PM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
Hi,

Correct - the issue appears to be only related to this account for whatever reason. Nobody else has reported an issue on the server / I haven't been able to find anyone else.

We do have a per user php.ini setup, with the PHP_INI_SCAN_DIR setup.

Even a simple file such as you have recommend does absolutely nothing - it times right out.

I've tried ditching the php.ini and the .htaccess just to make sure there wasn't something dodgy in there but to no avail at all.
Reply With Quote
  #6  
Old 03-08-2012, 12:38 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
is it possible to remove its per user php.ini and use the global php.ini to see any difference? if no difference, pm server temporary root access for us to look into if you would like.
Reply With Quote
  #7  
Old 03-08-2012, 12:54 PM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
Hi,

Already tried that - removed both their per user php.ini from public_html as well as the .htaccess file just in case it was causing grief.

I've been talking with NiteWave and he has been looking at it for me But thanks for the offer, very kind indeed.
Reply With Quote
  #8  
Old 03-08-2012, 01:13 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
you are welcome. just to make sure the issue is being looked into.
Reply With Quote
  #9  
Old 03-08-2012, 09:16 PM
craigles craigles is offline
Member
 
Join Date: Jun 2011
Posts: 34
Thankyou so much guys for all your assistance - very much appreciated.

NiteWave figured out what the problem was - we are using PHP_INI_SCAN_DIR and I didn't even realise it would read in every file ending in a .ini

And I was making backup copies of the php.ini and leaving them with a .ini entry.

Silly me.

Anyway thanks once again guys
Reply With Quote
  #10  
Old 03-08-2012, 09:49 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,226
when PHP_INI_SCAN_DIR set, /home/xxxx/public_html/phpCopy.ini is read.
comment out this line in phpCopy.ini
/usr/local/Zend/lib/Guard-5.5.0/php-5.3.x/ZendGuardLoader.so
phpinfo() works fine. and looks the whole site works too.
so still this ZendGuardLoader.so issue.

Last edited by NiteWave; 03-08-2012 at 09:54 PM..
Reply With Quote
Reply

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


All times are GMT -7. The time now is 07:56 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.