
Originally Posted by
Arvand
Several of our servers started giving the 500 internal server errors on all php sites. In the logs, the above error showed. The results of the commands are:
Code:
root@lamp [~]# /usr/local/bin/php -v
PHP 5.2.11 (cli) (built: Oct 28 2009 07:02:16)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v3.3.7, Copyright (c) 2002-2009, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies
So you are saying that switching to 5.2.9 may resolve the issue?
I would re-install Zend Optimizer; thee is a newer version that should work better with PHP up to version 5.2.12, as seen below:
Code:
# /usr/local/bin/php -v
PHP 5.2.12 (cli) (built: Jan 19 2010 17:10:33)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies
with the ionCube PHP Loader v3.3.7, Copyright (c) 2002-2009, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
with Suhosin v0.9.29, Copyright (c) 2007, by SektionEins GmbH
Here are two commands that may be used to remove and then re-install Zend Optimizer in PHP:
Code:
# /scripts/phpextensionmgr uninstall Zendopt
# /scripts/phpextensionmgr install Zendopt