hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Programming Discussion : ZendOptimizier installation trouble
Reply

Programming Discussion Discussions related to web programming languages and other related issues. Topics may include configuration, optimization, practical usage and database connectivity.
Forum Jump

ZendOptimizier installation trouble

Reply Post New Thread In Programming Discussion Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 12-20-2008, 02:45 AM
RelativeDesign-Jerret RelativeDesign-Jerret is offline
Web Hosting Guru
 
Join Date: Sep 2004
Location: Beaverton, OR
Posts: 261
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

Reply With Quote


Sponsored Links
  #2  
Old 12-20-2008, 04:47 AM
Jaseeey Jaseeey is offline
Junior Guru
 
Join Date: Dec 2007
Location: Adelaide, AU, Earth
Posts: 204
Did you restart the web service after the Zend installation?

Reply With Quote
  #3  
Old 12-20-2008, 06:02 AM
wizardx
Guest
 
Posts: n/a
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?

Reply With Quote
Sponsored Links
  #4  
Old 12-20-2008, 02:14 PM
RelativeDesign-Jerret RelativeDesign-Jerret is offline
Web Hosting Guru
 
Join Date: Sep 2004
Location: Beaverton, OR
Posts: 261
@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

Reply With Quote
  #5  
Old 12-22-2008, 02:24 AM
RelativeDesign-Jerret RelativeDesign-Jerret is offline
Web Hosting Guru
 
Join Date: Sep 2004
Location: Beaverton, OR
Posts: 261
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

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
cPanel & WHM Software 11.36 Reaches Stable Tier Status Web Hosting News 2013-04-09 11:44:33
Quality Technology Services Offers Free Installation of Data Center Panels Web Hosting News 2013-01-30 14:47:05
Monitoring Firm LabTech Software Launches Cloud Delivery Option Web Hosting News 2012-01-27 13:55:36
Web Host JaguarPC Adds Auto-Installer Softaculous to Hosting Plans Web Hosting News 2011-07-27 18:55:46
Web Hosting Sales and Promos Roundup - June 17, 2011 Web Hosting News 2011-06-17 19:54:48


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?