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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > PHP errors not logged, blank PHP pages

Reply
 
Thread Tools Display Modes
  #1  
Old 04-28-2011, 02:41 PM
MH-Stefan MH-Stefan is offline
New Member
 
Join Date: Apr 2011
Posts: 5
Question PHP errors not logged, blank PHP pages

Hello,

Last week we've switched from Apache to LSWS. So far we've been able to iron out most of the issues, except for one: it seems that some PHP errors aren't logged.
We have clients reporting that various scripts which worked flawlessly on Apache are now simply displaying a blank page. The error logs don't show anything and PHP error reporting is enabled.

The server is running PHP 5.2 in suPHP mode, with eAccelerator, mod_security and Suhosin.

Any advice would be greatly appreciated. Thank you in advance!

Regards,
Stefan
Reply With Quote
  #2  
Old 04-28-2011, 11:47 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,296
compare phpinfo() under apache and lsws, see if difference.
Reply With Quote
  #3  
Old 04-29-2011, 02:36 AM
MH-Stefan MH-Stefan is offline
New Member
 
Join Date: Apr 2011
Posts: 5
They're both identical. It seems that the issues we have may be caused either by Suhosin or by mod_security, but the errors are not logged or displayed anywhere. Any idea why Suhosin/mod_security errors aren't logged under LSWS?

Edit: Sometimes we get the error 406 with a blank page when submitting a form.

Last edited by MH-Stefan; 04-29-2011 at 02:47 AM..
Reply With Quote
  #4  
Old 04-29-2011, 02:48 AM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,296
how about disable Suhosin in lsphp5, see if no error?
Reply With Quote
  #5  
Old 04-29-2011, 03:19 AM
MH-Stefan MH-Stefan is offline
New Member
 
Join Date: Apr 2011
Posts: 5
Thanks, I've turned on suhosin.simulation and now we can submit the form, but the suhosin errors are still not logged as they should.
Reply With Quote
  #6  
Old 04-29-2011, 09:58 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
are you using cpanel? did you also check stderr.log as well?
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:40 PM.



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