Can anyone explain to me why when i /usr/bin/php -v i get
But when i do /usr/local/bin/php -v i get:
Im trying to load xcache, have compiled from source several times and even tried to disable Zend but i cant get the thing to load, it says its loaded for the cli but im not using cli according to the phpinfo im running cgi-fcgi...
I put the info in the only php.ini available for php5 located at /usr/local/Zend and when run phpinfo() it wont show as xcache loaded. It looks like there are to different versions of php5 on my system, but, why is the php.ini, which says CGI-FCGI, not loading the module like the CLI php is doing?
Thanks.
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions//usr/local/ioncube/ioncube_loader_lin_5.2_ts.so' - /usr/local/lib/php/extensions//usr/local/ioncube/ioncube_loader_lin_5.2_ts.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/xcache.so' - /usr/local/lib/php/extensions/xcache.so: undefined symbol: core_globals_id in Unknown on line 0
PHP 5.2.4 (cgi-fcgi) (built: Sep 17 2007 18:20:05)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
Code:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions//usr/local/ioncube/ioncube_loader_lin_5.2_ts.so' - /usr/local/lib/php/extensions//usr/local/ioncube/ioncube_loader_lin_5.2_ts.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/phpshield/phpshield.5.2.lin' - /usr/local/lib/php/extensions/phpshield/phpshield.5.2.lin: undefined symbol: executor_globals in Unknown on line 0
PHP 5.2.4 (cli) (built: Sep 17 2007 18:15:24)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with XCache v1.2.0, Copyright (c) 2005-2006, by mOo
I put the info in the only php.ini available for php5 located at /usr/local/Zend and when run phpinfo() it wont show as xcache loaded. It looks like there are to different versions of php5 on my system, but, why is the php.ini, which says CGI-FCGI, not loading the module like the CLI php is doing?
Thanks.