Installing ionCube: Difference between revisions

From The Uniform Server Wiki
Jump to navigation Jump to search
(fixed win format)
(u = you)
Line 6: Line 6:
# Uncompress the package using WinZip or any other uncompression software.
# Uncompress the package using WinZip or any other uncompression software.
# Copy the ioncube_loader_win_'''X.X'''.dll to your PHP extensions folder. <br /> ''Note: The X.X stands for your PHP version number!''
# Copy the ioncube_loader_win_'''X.X'''.dll to your PHP extensions folder. <br /> ''Note: The X.X stands for your PHP version number!''
# Navigate to /usr/local/php/ and edit the php.ini file and add this line (<u>broken over two lines for readability</u>) before any other zend_extension line (there should be none if u have not installed it) <pre><nowiki>zend_extension_ts =  
# Navigate to /usr/local/php/ and edit the php.ini file and add this line (<u>broken over two lines for readability</u>) before any other zend_extension line (there should be none if you have not installed it) <pre><nowiki>zend_extension_ts =  
/usr/local/php/extensions/ioncube_loader_win_X.X.dll</nowiki></pre> ''Note: Where '''X.X''' is the same thing as your PHP version number!''
/usr/local/php/extensions/ioncube_loader_win_X.X.dll</nowiki></pre> ''Note: Where '''X.X''' is the same thing as your PHP version number!''



Revision as of 17:22, 16 April 2005

First thing is that you have to download the program from the loader download page. (.zip)
If still using PHP 5.0.0 - 5.0.2, download the PHP 5 loaders at the end of that page rather than the top ones. Do not download the bottom ones for PHP 5.0.3+!

Installation

  1. Uncompress the package using WinZip or any other uncompression software.
  2. Copy the ioncube_loader_win_X.X.dll to your PHP extensions folder.
    Note: The X.X stands for your PHP version number!
  3. Navigate to /usr/local/php/ and edit the php.ini file and add this line (broken over two lines for readability) before any other zend_extension line (there should be none if you have not installed it)
    zend_extension_ts =

/usr/local/php/extensions/ioncube_loader_win_X.X.dll Note: Where X.X is the same thing as your PHP version number!

Finalization

  1. Restart the server.
  2. Copy the ioncube-encoded-file.php file into your /www directory.
  3. Test it and see if it works.