View Single Post
  #2 (permalink)  
Old 02-09-2009, 11:50 PM
UnderHost's Avatar
UnderHost UnderHost is offline
UnderHost Management
 
Join Date: Jul 2008
Posts: 581
Default

Others way,

You WILL require root access to the server in order to do this.

1. Download the latest loaders to your computer from http://www.ioncube.com/loaders.php

2. Extract the contents of the archived file

3. You will need to browse to the public folder where you uploaded the IONCUBE directory.

4. Move the ioncube folder to a permanent location by entering: mv ioncube /usr/local

5. Next, you need to locate the php.ini file, to do this enter: locate php.ini - You should find it is in /usr/local/lib/php.ini. Now that you know the location of php.ini you need to edit it. pico /usr/local/lib/php.ini

6. Now find where other zend extentions are in the file: ctrl + w: zend_extension

7. Paste in your new line for ioncube loader: zend_extension = /usr/local/ioncube
/ioncube_loader_lin_x.so (Replace x with your version of PHP eg. 4.4)

8. Save the changes: ctrl + X then Y and enter

9. Restart the web server to take effect: /etc/init.d/httpd restart

That's it! Ioncube is now installed on your server! You should now see a section in your PHP Info page that says:
__________________
UnderHostProviding Affordable and Quality USA Hosting & Offshore cPanel Hosting
24/7 Rapid Support / 99.9% Uptime Guarantee / Shared / Reseller / VPS / Dedicated
Premium VPSUSA Cloud Virtual Private Servers - Dedicated and Scalable Resources - Parallels® Virtuozzo
Hong Kong - Singapore - USA - Canada - Netherlands - UK - Germany - Panama - Malaysia
Reply With Quote