Discussion:
[PHP-INSTALL] error when running PHP 5 CLI on shared Linux Godaddy account
Patrick Price
2009-02-11 13:13:34 UTC
Permalink
Hey,
I have a new site on Godaddy's Shared Linux hosting and when running from
the CLI it defaults to using PHP 4.4.9. If I prepend my command with
/web/cgi-bin/php5 it will use the PHP5 engine. I had to create a new
php5.ini in my root folder to override a few php5.ini settings. Whenever I
run "/web/cgi-bin/php5 -v" it runs fine but produces the error:

/web/cgi-bin/php5: Symbol `client_errors' has different size in shared
object, consider re-linking
Failed loading /usr/local/zo/4_3/ZendOptimizer.so:
/usr/local/zo/4_3/ZendOptimizer.so: undefined symbol: empty_string
PHP 5.2.8 (cgi-fcgi) (built: Dec 18 2008 16:14:34)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2008 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend
Technologies


My overriding php5.ini file is:

register_globals = off
allow_url_fopen = off
short_open_tag = off

expose_php = Off
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
memory_limit = 20000000
session.gc_maxlifetime = 72000

#log_errors = On
#error_log = php_error.log
#display_errors = On
#error_reporting = E_ALL

magic_quotes_gpc = false
cgi.fix_pathinfo = 1

[Zend]
zend_extension=/usr/local/zo/ZendExtensionManager.so
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so

If I run the same command in PHP 4.4.9, there are no errors. I have also
removed my php5.ini file and it still produces the same error. I am fairly
experienced at programming PHP, just not in the setup of PHP.

Anyone have any ideas on how to fix this error?

Thanks,

patrick
Paul Reinheimer
2009-02-11 13:54:03 UTC
Permalink
Hi Peter,
Post by Patrick Price
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared
object, consider re-linking
/usr/local/zo/4_3/ZendOptimizer.so: undefined symbol: empty_string
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
You're running PHP 5, but pased on the path, I might presume that Zend Optimizer
was built for an earlier version of PHP. Try disabling that extension,
or looking
for a more recent version on disk (/usr/local/zo/5_3/ZendOptimizer.so ?)



paul
--
Paul Reinheimer
Patrick Price
2009-02-12 01:16:20 UTC
Permalink
Thanks for the response.
I updated my php5.ini and no longer get the error:

Failed loading /usr/local/zo/4_3/ZendOptimizer.so:
/usr/local/zo/4_3/ZendOptimizer.so:
undefined symbol: empty_string

But I still am getting the error:

/web/cgi-bin/php5: Symbol `client_errors' has different size in shared
object, consider re-linking

Any other ideas?

thanks
patrick
Post by Paul Reinheimer
Hi Peter,
Post by Patrick Price
/web/cgi-bin/php5: Symbol `client_errors' has different size in shared
object, consider re-linking
/usr/local/zo/4_3/ZendOptimizer.so: undefined symbol: empty_string
zend_extension=/usr/local/zo/4_3/ZendOptimizer.so
You're running PHP 5, but pased on the path, I might presume that Zend Optimizer
was built for an earlier version of PHP. Try disabling that extension,
or looking
for a more recent version on disk (/usr/local/zo/5_3/ZendOptimizer.so ?)
paul
--
Paul Reinheimer
Loading...