Portal Home > Knowledgebase > Articles Database > ZendOptimizier installation trouble


ZendOptimizier installation trouble




Posted by RelativeDesign-Jerret, 12-20-2008, 02:45 AM
ZendOptimizier installation trouble I have a server where I'm having a hard time getting Zend Optimizier up and running. Here's the environment info: CentOS 5 - x86_64 (2.6.18 kernel) PHP 5.1.6 Plesk 8.6 I've downloaded and installed (using their setup script) ZendOptimizer-3.3.3-linux-glibc23-x86_64. The installation is copied to /usr/local/Zend and the php.ini file is updated (via symlink). After installation (and apache restart) if I type php -v I receive: Code: Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies with Zend Optimizer v3.3.3, Copyright (c) 1998-2007, by Zend Technologies However, if I run the phpinfo() command from a test page I only see: Code: This program makes use of the Zend Scripting Language Engine: Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies phpinfo() does report that the correct file is being loaded (/usr/local/Zend/etc/php.ini). And, of course, my zend encoded page display's a "Zend Optimizer not installed" message. Thoughts, suggestions, ideas? Thanks, Jerret Kinsman __________________Relative Design and Networking LLC Consulting, Engineering, Systems Management and Website Design(503) 608-4650

Posted by jaseeey, 12-20-2008, 04:47 AM
Did you restart the web service after the Zend installation?

Posted by wizardx, 12-20-2008, 06:02 AM
As far I can think right now regarding the problem is you are using a custom php.ini file, have you edit your custom php.ini file? Can you please link us to your phpinfo as well?

Posted by RelativeDesign-Jerret, 12-20-2008, 02:14 PM
Jaseeey - Yes, I've restarted the httpd service after installing Zend. @wizardx - I've attached links to the php.ini file that is in use *and* the output of phpinfo(). You'll notice that I reverted back to Zend 3.2.8 after reading about some issues with 3.3.3, unfortunately that didn't make a difference. Best Regards, Jerret Kinsmanhttp://www.relativedesign.net/temp/php.ini.txthttp://www.relativedesign.net/temp/phpinfo.txt __________________Relative Design and Networking LLC Consulting, Engineering, Systems Management and Website Design(503) 608-4650

Posted by RelativeDesign-Jerret, 12-22-2008, 02:24 AM
FYI, this was an SELinux issue; I noticed an error in the audit log: Code: type=AVC msg=audit(1229925320.287:1721): avc: denied { execute } for pid=21477 comm="httpd" path="/usr/local/Zend/lib/ZendExtensionManager.so" dev=sda2 ino=2615770 scontext=use r_uystem_r:httpd_t0 tcontext=user_ubject_r:usr_t0 tclass=file The following set of commands resolved the issue: Code: setsebool allow_execheap 1 chcon -t httpd_modules_t -u system_u `find /usr/local/Zend/lib/ -name \*.so` execstack -c `find /usr/local/Zend/lib/ -name \*.so` Regards, Jerret __________________Relative Design and Networking LLC Consulting, Engineering, Systems Management and Website Design(503) 608-4650



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read
WHM Backups (Views: 508)
mime / php question (Views: 508)