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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > [solved] error 503 after upgrade 4.2.1

Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2013, 08:44 PM
sicute sicute is offline
New Member
 
Join Date: Oct 2010
Posts: 6
Default [solved] error 503 after upgrade 4.2.1

hi ..

i have problem with lsws standar 4.2.1 after upgrade my php not working , event i try php info only still get error 503 .

My LSWS standar 4.2.1 with php 5.4.9 / 5.4.8 / 5.47.

can i get clue ?
__________________
get free

Last edited by NiteWave; 02-19-2013 at 10:00 PM..
Reply With Quote
  #2  
Old 02-19-2013, 08:48 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,216
how about command line?

#/usr/local/lsws/fcgi-bin/lsphp5 -i |head
Reply With Quote
  #3  
Old 02-19-2013, 09:43 PM
sicute sicute is offline
New Member
 
Join Date: Oct 2010
Posts: 6
solved .

root@iix:/home/ison# /usr/local/lsws/fcgi-bin/lsphp-5.4.9 -v
PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0

edit php.ini in /usr/local/lsws/php/php.ini

change
allow_call_time_pass_reference = On

#restrat
root@iix:/home/ison# /etc/init.d/lsws restart
root@iix:/home/ison#



root@iix:/home/ison# /usr/local/lsws/fcgi-bin/lsphp-5.4.9 -v
PHP 5.4.9 (litespeed) (built: Feb 19 2013 19:57:20)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
root@iix:/home/ison#

and everything back normal

Thanks
__________________
get free
Reply With Quote
  #4  
Old 02-21-2013, 03:13 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
the default php.ini (/usr/local/lsws/php/php.ini) shipped with LSWS may not be suiteable for the later PHP versions (5.4 in this case). hence the problem. use the php.ini (php.ini-production|development) that comes with php package should avoid this issue.
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 11:37 PM.



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