Kayako logo
Installation & Upgrading Questions and issues regarding the installation and upgrade procedure of SupportSuite, eSupport and LiveResponse.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  (#1) Old
sdwhite Offline
New Member
 
Posts: 5
Join Date: Feb 2008
Zend and IonCube - 14-02-2008, 03:54 PM

After a server reboot last night, I am getting the "Zend Optimizer Not Installed" page.

We moved this installation to a Red Hat Linux host running Zend and IonCube about a week ago and it was running okay. This is a PLESK 8.3.0 installation and it requires that IonCube be loaded before Zend in the INI files. They are loaded through two files in /etc/php.d one called ioncube.ini and the other is zend.ini. Here's the contents:

ioncube.ini:
zend_extension=/usr/lib/php/ioncube/ioncube_loader_lin_5.2.so

zend.ini:
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
zend_optimizer.version=3.3.0a
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
zend_optimizer.enable_loader = 1
zend_optimizer.optimization_level=1

Here's my php -v output:
PHP 5.2.5 (cli) (built: Jan 19 2008 10:08:24)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

This site was working yesterday and the server needed a reboot and now it's not working. Any ideas?
   
Reply With Quote
  (#2) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,566
Join Date: Aug 2006
Location: Mumbai, India
14-02-2008, 04:36 PM

SSH to your server and run the command whereis php and paste the results.



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
  (#3) Old
sdwhite Offline
New Member
 
Posts: 5
Join Date: Feb 2008
Location of PHP - 14-02-2008, 10:43 PM

Quote:
Originally Posted by supportskins View Post
SSH to your server and run the command whereis php and paste the results.

Here it is...

php: /usr/bin/php /etc/php.d /etc/php.ini /usr/lib/php /usr/include/php /usr/share/php /usr/share/man/man1/php.1.gz
   
Reply With Quote
  (#4) Old
sdwhite Offline
New Member
 
Posts: 5
Join Date: Feb 2008
Zend problem solved - 15-02-2008, 12:55 AM

Well I finally figured it out, this was an esoteric problem courtesy of SELinux, it was preventing execution of the Zend files. Here's the log file message that clued me in...

Feb 14 16:41:58 15967-38492 kernel: audit(1203036118.354:19): avc: denied { write } for pid=27158 comm="httpd" name="jk-runtime-status" dev=dm-0 ino=5211368 scontext=root:system_r:httpd_t tcontext=root:object_r:httpd_log_t tclass=file
Feb 14 16:41:58 15967-38492 kernel: audit(1203036118.457:20): avc: denied { execute } for pid=27158 comm="httpd" name="ZendExtensionManager.so" dev=dm-0 ino=

And here's an old but useful link that helped me solve it.

FedoraForum.org - Getting crazy with MySQL in Fedora Core 3

Quote:
Originally Posted by sdwhite View Post
After a server reboot last night, I am getting the "Zend Optimizer Not Installed" page.

We moved this installation to a Red Hat Linux host running Zend and IonCube about a week ago and it was running okay. This is a PLESK 8.3.0 installation and it requires that IonCube be loaded before Zend in the INI files. They are loaded through two files in /etc/php.d one called ioncube.ini and the other is zend.ini. Here's the contents:

ioncube.ini:
zend_extension=/usr/lib/php/ioncube/ioncube_loader_lin_5.2.so

zend.ini:
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.0
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.0
zend_optimizer.version=3.3.0a
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
zend_optimizer.enable_loader = 1
zend_optimizer.optimization_level=1

Here's my php -v output:
PHP 5.2.5 (cli) (built: Jan 19 2008 10:08:24)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with the ionCube PHP Loader v3.1.32, Copyright (c) 2002-2007, by ionCube Ltd., and
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

This site was working yesterday and the server needed a reboot and now it's not working. Any ideas?
   
Reply With Quote
  (#5) Old
supportskins Offline
Senior Member
 
supportskins's Avatar
 
Posts: 3,566
Join Date: Aug 2006
Location: Mumbai, India
15-02-2008, 09:39 AM

Glad to know the issue is resolved. Thank You for sharing the fix



Professional and Affordable Kayako Skins - Specialists in Kayako Skinning & Customization - Professional Paid Support
Our Skins and Services - http://www.supportskins.com/store/
SupportSkins.com - http://www.supportskins.com/
   
Reply With Quote
Reply

Tags
ioncube, zend

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Misc / General Zend or IonCube craigbrass Feature Requests 12 17-04-2008 12:55 PM
Did I previously install Zend or Ioncube version? jdk How do I? 1 22-01-2008 07:46 AM
Installation issues with zend and ioncube mrmandrill2 Installation & Upgrading 13 13-08-2007 05:59 PM
Ioncube & Zend hosted with Verio neilcorke Installation & Upgrading 4 01-07-2007 03:50 PM
Zend and IonCube? Jamie Edwards Installation & Upgrading 0 21-04-2007 10:52 PM



Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vBulletin Skin developed by: vBStyles.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46