Author |
Message |
AEDELGOD
Joined: 31 Aug 2017 Posts: 2
|
Posted: Thu Aug 31, 2017 11:50 pm Post subject: SOLVED: The PHP version for the loader cannot be determined |
|
|
Hello,
Having a bit of trouble installing ioncube loader on a new dev environment on Win10 with Bitnami WAMP Stack (irrelevant but will include all environment variables).
php -v output
Code: | PHP 7.0.22 (cli) (built: Aug 1 2017 13:56:43) ( ZTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with the ionCube PHP Loader v10.0.1, Copyright (c) 2002-2017, by ionCube Ltd.
with Zend OPcache v7.0.22, Copyright (c) 1999-2017, by Zend Technologies |
loader-wizard.php error:
Code: | The PHP version for the loader cannot be determined |
IonCube encoded files output: (obviously)
Code: | The ionCube PHP Loader needs to be installed |
PHP ini path for .dll
Code: | zend_extension = "C:\Windows\System32\ioncube_loader_win_7.0.dll" |
Any suggestions would be appreciated, thanks.
SOLUTION
I did figure out what the issue was. So FYI for anyone else that has a similar issue installing this on Windows. Do NOT follow the recommended path to place the ioncube loader library in "C:\Windows\System32" as the documentation states. You will get this error as a permissions issue. It's better just to place it in your PHP installation folder and reference the absolute path for it. It should look similar to this:
zend_extension = "C:\PATH_TO_PHP_ROOT\ioncube_loader_win_7.0.dll"
Hope this helps someone else in the future. |
|
Back to top |
|
 |
liaison ionCube Support
Joined: 16 Dec 2004 Posts: 2788
|
Posted: Tue Sep 05, 2017 6:37 pm Post subject: |
|
|
The CLI output shows that the Loader is installed, so that's good,. If it isn't working for web pages then it may be that a different php.ini is being read. The best thing would be to contact ioncube support though so more information can be collected if necessary. _________________ Community Admin |
|
Back to top |
|
 |
AEDELGOD
Joined: 31 Aug 2017 Posts: 2
|
Posted: Mon Sep 11, 2017 9:36 pm Post subject: |
|
|
Hi,
I did figure out what the issue was. So FYI for anyone else that has a similar issue installing this on Windows. Do NOT follow the recommended path to place the ioncube loader library in "C:\Windows\System32" as the documentation states, you will get this error as a permissions issue. It's better just to place it in your PHP installation folder and reference the absolute path for it. It should look similar to this:
zend_extension = "C:\PATH_TO_PHP_ROOT\ioncube_loader_win_7.0.dll"
Hope this helps someone else in the future. |
|
Back to top |
|
 |
|