简体   繁体   中英

Wampserver install Ioncube error

I'm using Wampserver 2.5 Apache2.4 64bit, PHP 5.5 64bit and Ioncube PHP Loader v4.7.1 (Ioncube for PHP 5.5 vc11 ts)

When i test the encoded file i got "The connection was reset" error.

How do I make Ioncube work on Wampserver?

; Ioncube
zend_extension = "C:\wamp\bin\php\ioncube\ioncube_loader_win_5.5.dll"

Ioncube TS or NonTS are same result.
Ioncube is in phpinfo(); but not working.
Slash (/) or Back slash(\) has same effect. not working.

Ioncube did have 64bit vc11 for PHP. please check at http://www.ioncube.com/loaders.php

Windows VC11 (64 bits)
Windows VC11 (Non-TS) (64 bits)

For WAMPServer all dll's must be compiled as Thread Safe (TS).

If you are using the 64bit version of WAMPServer then you need to download from the ioncube site the zip called Windows VC11 (64 bits)

All of which you seem to already know.

The only other thing I can think of is that the

zend_extension = "C:\wamp\bin\php\ioncube\ioncube_loader_win_5.5.dll"

line should go at the bottom of php.ini, just before the XDEBUG parameters is where I put mine.

Ah I think I spotted your error!!!!

Think what PHP does with backslashes inside double quote!

Just change the \ to / and you should be good to go.

zend_extension = "C:/wamp/bin/php/ioncube/ioncube_loader_win_5.5.dll"

But remember you need the Thread Safe version for WAMPServer.

REPEATED RECOMMENDATION

As I said above: Please move the zend_extension = "C:/wamp/bin/php/ioncube/ioncube_loader_win_5.5.dll" to the bottom of your php.ini file like this just before the zend_extension line for XDEBUG :-

; Local Variables:
; tab-width: 4
; End:

;ioncube Extension
zend_extension = "C:/wamp/bin/php/ioncube/ioncube_loader_win_5.5.dll"

; XDEBUG Extension
zend_extension = "c:/wamp/bin/php/php5.5.12/zend_ext/php_xdebug-2.2.5-5.5-vc11.dll"

Ioncube does not work with Apache+PHP 64 bit.

WampServer or manual install are not working.

Ioncube says that PHP 64 bit for Windows is currently experimental.

I'm using wampserver3.2.3_x86 - Apache 2.4.46 - PHP 7.4.9 - MySQL 5.7.31 - MariaDB 10.4 and Ioncube_loaders_win_vc15_x86

When i test the encoded file i got "The connection was reset" error.

How do I make Ioncube work on Wampserver?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM