LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   503 errors with php 5.4.x (http://www.litespeedtech.com/support/forum/showthread.php?t=5952)

CanHazCode 05-23-2012 10:33 AM

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.

webizen 05-23-2012 01:15 PM

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

CanHazCode 05-23-2012 01:35 PM

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.

webizen 05-23-2012 03:59 PM

it should be safe/better to use php.ini that comes with php 5.4.

nisiwi 02-14-2013 05:21 AM

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 ?

webizen 02-14-2013 11:13 AM

Quote:

Originally Posted by nisiwi (Post 48573)
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.

nisiwi 02-14-2013 11:30 AM

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

webizen 02-14-2013 12:53 PM

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.


All times are GMT -7. The time now is 09:02 AM.