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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > 503 errors with php 5.4.x

Reply
 
Thread Tools Display Modes
  #1  
Old 05-23-2012, 10:33 AM
CanHazCode CanHazCode is offline
New Member
 
Join Date: May 2012
Posts: 2
Default 503 errors with php 5.4.x

Edit:* I figured out what this was. Anything running php 5.4.x would crash php with 503.

Code:
2012-05-23 10:35:12.215 [STDERR] PHP Fatal error:  Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0
in php.ini I changed this from On to Off
Code:
allow_call_time_pass_reference = Off
Just thought I'd post it here so the community was aware if it comes up for anyone else as this was using default litespeed php.ini

Thank you.

Last edited by CanHazCode; 05-23-2012 at 10:56 AM..
Reply With Quote
  #2  
Old 05-23-2012, 01:15 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Off is the default. so likely you turned it on for other version and reuse for php5.4
Code:
allow_call_time_pass_reference = Off
Reply With Quote
  #3  
Old 05-23-2012, 01:35 PM
CanHazCode CanHazCode is offline
New Member
 
Join Date: May 2012
Posts: 2
This was a fresh install of everything right down to the distro. Fresh downloads of everything else today as well. All new entirely. Looking at the extracted tree from my litespeed tarball I grabbed today, allow_call_time_pass_reference is set to On.
Reply With Quote
  #4  
Old 05-23-2012, 03:59 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
it should be safe/better to use php.ini that comes with php 5.4.
Reply With Quote
  #5  
Old 02-14-2013, 05:21 AM
nisiwi nisiwi is offline
New Member
 
Join Date: Feb 2013
Posts: 7
I'm seeing the same error. The install script is checking for this configuration and is not finding it. If this is the default why are we getting this error ?
Reply With Quote
  #6  
Old 02-14-2013, 11:13 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by nisiwi View Post
I'm seeing the same error. The install script is checking for this configuration and is not finding it. If this is the default why are we getting this error ?
What install script are you referring to? The compile/install script within PHP will not check the configuration.
Reply With Quote
  #7  
Old 02-14-2013, 11:30 AM
nisiwi nisiwi is offline
New Member
 
Join Date: Feb 2013
Posts: 7
The install script for an app to be installed onto the server - i.e. it could be the install script for vTger CRM or Wordpress or whatever
Reply With Quote
  #8  
Old 02-14-2013, 12:53 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
php.ini that comes with php 5.4 tarball should have allow_call_time_pass_reference set to Off by default. for other php.ini, you need to check before use. not all app install script check that directive.
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 08:49 PM.



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