UNIX Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsOperating SystemsUNIX Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 23rd, 2012, 04:31 AM
eludic eludic is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2007
Posts: 45 eludic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 48 m 41 sec
Reputation Power: 6
Installing ionCube on UNIX

I are compiling a client server where I have successfully managed to install the web server, PHP as well as MySQL on it. The software we plan to use on this server required ionCube loaders however we have not been able to install them even after following the instructions on the web.

Using shell if I give the command:

php -v

It shows ionCube is installed:
=========
PHP 5.3.3 (cli) (built: Feb 2 2012 18:29:52)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
with the ionCube PHP Loader v4.0.12, Copyright (c) 2002-2011, by ionCube Ltd.
=========

However when phpinfo is run from the web it does not reflect ionCube loader:

=========
This program makes use of the Zend Scripting Language Engine:
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6.1, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
=========

When I access the ionCube loader wizard (loader-wizard.php) file it gives the error:

=========
The loader at /usr/lib64/php/modules/ioncube_loader_lin_5.3.so does not appear to be readable.
=========

Server error_log reports these errors:
=========
[client XX.XX.XX.XX] PHP Warning: md5_file(/usr/lib64/php/modules/ioncube_loader_lin_5.3.so): failed to open stream: Permission denied in /var/www/html/loader-wizard.php on line 2091, referer: http://XX.XX.XX/loader-wizard.php?timeout=0&ini=0&page=loader_check
Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: cannot open shared object file: Permission denied
Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: cannot open shared object file: Permission denied
Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: cannot open shared object file: Permission denied
Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: cannot open shared object file: Permission denied
Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: cannot open shared object file: Permission denied
Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: cannot open shared object file: Permission denied
Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: cannot open shared object file: Permission denied
Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: cannot open shared object file: Permission denied
[Thu Feb 23 05:29:54 2012] [notice] caught SIGTERM, shutting down
Failed loading /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: /usr/lib64/php/modules/ioncube_loader_lin_5.3.so: cannot open shared object file: Permission denied
=========

How do I fix this issue?

Last edited by eludic : February 23rd, 2012 at 05:33 AM.

Reply With Quote
  #2  
Old February 24th, 2012, 01:38 AM
eludic eludic is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2007
Posts: 45 eludic User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 9 h 48 m 41 sec
Reputation Power: 6
Please close this thread. The issue is resolved. I ran the command in the Loaders folder and restarted the web server software:

chcon -t shlib_t *.so

Last edited by eludic : February 24th, 2012 at 01:51 AM.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsUNIX Help > Installing ionCube on UNIX

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap