Requirement for ionCube PHP Loader ioncube_loader_win_5.3.dll to be installed?

ReactingToAngularVues picture ReactingToAngularVues · Feb 14, 2015 · Viewed 17.7k times · Source

I'm using AMPPS on a Windows machine, and when I try and navigate to http://localhost to make some modifications to my localhost server, I recieve the following error:

Site error: the file C:\Program Files (x86)\Ampps\ampps\softaculous\enduser\inc.php requires the ionCube PHP Loader ioncube_loader_win_5.3.dll to be installed by the website operator. If you are the website operator please use the ionCube Loader Wizard to assist with installation.

I checked out my php.ini file, and can't see anything wrong:

;ionCube Loader
zend_extension="{$path}\{$php_dir}\ioncube_loader_win_5.3.dll"

When I echo phpinfo(), I can find no references to this IonCube loader whatsoever.

When I try and fix the problem by using the IonCube installation wizard, I have no idea what to enter for the base URL and base Directory fields.

Can someone help me out here? Thanks.

Answer

Rocky picture Rocky · Oct 30, 2015

You are facing this issue because Enduser panel files are encoded, so PHP requires ioncube loader to execute this files.

Try this:

First check which PHP version you are using. login to localhost/ampps and click on phpinfo option and check your php version.

If you are using PHP 5.3 or PHP 5.4 then download ioncube loader Windows VC9 (32 bits) zip file.

If you are using PHP 5.5 or PHP 5.6 then download ioncube loader Windows VC11 (32 bits) zip file.

Extract and copy Your_PHP_Version.dll file in /Ampps/php folder. example if you are 5.6 then copy ioncube_loader_win_5.6.dll"

Now open PHP config. AMPPS control panel --> PHP --> Configuration.

Search for the zend_extensions line and edit it with the following line:

zend_extension="C:\Program Files (x86)\Ampps\php\ioncube_loader_win_5.6.dll"

Restart Ampps Apache.

Hope it helps :)