Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter and Zend Optimiser - how to remove
#1

[eluser]stml[/eluser]
My host recently upgraded my server, and one consequence appears to be that CI has 'lost' it's apparently necessary connection to Zend Optimiser, with this appearing in the error logs:

[08-Dec-2008 10:34:13] PHP Warning: Zend Optimizer for PHP 5.2.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer-3.0.0/php-5.2.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0

The site now behaves very oddly, with many things such as URL paths not working correctly, or coming up blank. ZO is installed, but why is it required? Is it possible to remove the requirement for it, or change the path?
#2

[eluser]mihailt[/eluser]
that's no CI issue but php configuration.
1. find whereis ZendOptimizer.so located
2. check php.ini to correct the path
3. restart webserver
#3

[eluser]stml[/eluser]
Turns out my host was lying - Zend Optimiser is not installed. Is it necessary for CI? Can I turn it off?
#4

[eluser]mihailt[/eluser]
And again - ZendOptimizer is a php extension, it has nothing to do with CI.
when php is loaded it uses php.ini file as configuration file. In that file along with other things, is a list of extensions
it will try load, if you don't want any extension just remove or comment the line with it, then restart your webserver.
#5

[eluser]stml[/eluser]
OK, thanks. Guess the problem with CI is not ZO then. Will keep bughunting.




Theme © iAndrew 2016 - Forum software by © MyBB