Enable IonCube Loader, Curl & htaccess on Localhost

Create a standard virtual server for localhost  can use the Xampp. With Xampp you can test your website project easily before live on the hosting server. There are some things we have to add it yourself, for instance: to activate Rewitable on .htaccess file, enable curl, and ioncube loader. Not infrequently we often hit with problems from various script which requires the presence of Ioncube loader, Curl and htaccess in inside the script that we install on localhost xampp as the event testing/test script.

To address decoder/encoder from scripts that require the need for installation of ionCube loaders and Zend Optimizer is need for activation of the facility on the file php.ini

Enable Curl Module in XAMPP :

  1. Open the file “php.ini” with Notepad/text editor, the file php.ini exists in the C:\xampp\apache\bin\php.ini folder (change the part of the drive where you install the xampp).
  2. Find the code ; extension = php_curl.dll you can use search tool for more quickly find the line of code.
  3. Eliminate sign code  ; at the beginning of the line. It will be like this it extension = php_curl.dll
  4. Save changes to the file and restart your xampp Apache.
  5. The next Test was such a change if Curl is already active or not, by accessing the phpadmin you with entering localhost: https://localhost/xampp on your browser
  6. Click on the left navigation: php info () from the phpadmin page opens.

curl-xampp

Enable .htaccess localhost xampp

  1. Open the file httpd.conf with notepad on direktory: c:xampp\apache\conf\httpd.conf
  2. Find the line with the inscription: #LoadModule rewrite_module modules/URmod_rewrite.so
  3. Delete/remove the sign # at the beginning of the line
  4. Next steps search: “AllowOverride None
    Replace: “AllowOverride All

Enable IonCube Loader:

First of all you do is download the IonCube loarder installer on your localhost.
Copy the files that IonCube: URoncube_loader_win_5.2.dll
ioncube_loader_win_5.3.dll
that is in C:\Program Files\ioncube:
folder: C:\xampp\php\ext\
then open the file php.ini
search for the line: ; zend_extension = “C:\xampp\php\ext\php_eaccelerator.dll”
; zend_extension = “C:\xampp\php\ext\php_xdebug.dll” add 2 command line below the above command line above:
zend_extension = “C:\xampp\php\ext\ioncube_loader_win_5.2.dll”
zend_extension = “C:\xampp\php\ext\ioncube_loader_win_5.3.dll”

Then it would be like this:

zend_extension = “C:\xampp\php\ext\ioncube_loader_win_5.2.dll”
zend_extension = “C:\xampp\php\ext\ioncube_loader_win_5.3.dll”
; zend_extension = “C:\xampp\php\ext\php_eaccelerator.dll”
; zend_extension = “C:\xampp\php\ext\php_xdebug.dll”
After you have finished your Xampp Apache Restarts.

ioncube