Help installing ionCube
Posted by: LeMarque (---.cybermesa.com)
Date: November 10, 2020 01:01AM

I added the below to phpForApache.ini but when I try to run the application that requires ionCube it says ioncube isn't loaded.

Compiler MSVC15 (Visual C++ 2017)

So I downloaded the non TS for Win10

extension=sqlite3
;extension=sysvshm
;extension=tidy
extension=xmlrpc
extension=xsl
;extension=zend_test

zend_extension="e:/wamp64/bin/php/php7.3.12/ext/php_opcache.dll"

The below is what I added ;

zend_extension="e:/wamp64/bin/php/php7.3.12/zend_ext/ioncube_loader_win7.3dll"

Hope this is clear and any help apprecited.

Options: ReplyQuote
Re: Help installing ionCube
Posted by: maximus23 (---.dynamic.voo.be)
Date: November 10, 2020 03:03AM

Hi,

For WampServer the Loader is a PHP engine extension, so should be referenced with
a zend_extension line in a php.ini file.

The Loader must be for the correct operating system, match the
PHP version, and for whether PHP is built as Thread-Safe (TS).

Download Ioncube Windows VC15 (64 bits) or Windows VC15 (32 bits).

Exemple for PHP 7.3.12 :

Unpack Loader "ioncube_loader_win_7.3.dll" to E:\wamp64\bin\php\php7.3.12\zend_ext\ioncube_loader_win_7.3.dll

Search in phpForApache.ini:

[opcache]
; opcache documentation [php.net]

Add BEFORE:

[ioncube]
zend_extension="E:/wamp64/bin/php/php7.3.12/zend_ext/ioncube_loader_win_7.2.dll"

Restart wampServer two times.

Check a phpinfo page Section "ionCube Loader".

smiling smiley

Options: ReplyQuote
Re: Help installing ionCube
Posted by: LeMarque (---.cybermesa.com)
Date: November 10, 2020 04:54AM

Thanks -

I found the below video very useful in how to use the loader-wizard.php and voila! Just managed to get it working.

I'll review you suggestion after I stop celebrating :-)


[www.youtube.com]

Options: ReplyQuote
Re: Help installing ionCube
Posted by: SergeTkach (---.tvin.com.ua)
Date: January 14, 2025 04:46PM

It seems that ionCube DLL doesn't work for WampServer 3.3.7. For PHP 8.2, ionCube appears in the extensions list in phpinfo(), but the encoded script does not work.

It also says: 'The connection to the server was reset while the page was loading"

For PHP 7.4 it works ok
For PHP 8.3 it doesn't work



Edited 3 time(s). Last edit at 01/15/2025 07:52AM by SergeTkach.

Options: ReplyQuote
Re: Help installing ionCube
Posted by: Otomatic (Moderator)
Date: January 15, 2025 10:28AM

Hi,

- Download ioncube_loaders_win_vc16_x86-64.zip V14.00 (TS)

After unzipping, there are three dlls:
ioncube_loader_win_8.1.dll
ioncube_loader_win_8.2.dll
ioncube_loader_win_8.3.dll

Each must be copied into the zend_ext folder of the relevant PHP version:
(PHP version numbers may vary depending on your installation of Wampserver)
e:\wamp64\bin\php\php8.1.31\zend_ext\ioncube_loader_win_8.1.dll
e:\wamp64\bin\php\php8.2.27\zend_ext\ioncube_loader_win_8.2.dll
e:\wamp64\bin\php\php8.3.15\zend_ext\ioncube_loader_win_8.3.dll

Then each phpForApache.ini file for the three PHP versions must be edited to add, just before the [opcache] section and depending on the PHP version, the following two lines:

- PHP 8.1.31
[ioncube]
zend_extension="E:/wamp64/bin/php/php8.1.31/zend_ext/ioncube_loader_win_8.1.dll"

- PHP 8.2.27
[ioncube]
zend_extension="E:/wamp64/bin/php/php8.2.27/zend_ext/ioncube_loader_win_8.2.dll"

- PHP 8.3.15
[ioncube]
zend_extension="E:/wamp64/bin/php/php8.3.15/zend_ext/ioncube_loader_win_8.3.dll"

Be careful to match PHP versions with ioncube_loader_win_x.y.dll versions.

That's what Maximus23 explained almost 5 years ago!

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote


Sorry, only registered users may post in this forum.