ionCube Logo
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


 
Post new topic   Reply to topic    ionCube Forum Index -> ionCube Loader

SOLVED: The PHP version for the loader cannot be determined

Author Message
AEDELGOD



Joined: 31 Aug 2017
Posts: 2

PostPosted: Thu Aug 31, 2017 11:50 pm    Post subject: SOLVED: The PHP version for the loader cannot be determined Reply with quote

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
View user's profile Send private message
liaison
ionCube Support


Joined: 16 Dec 2004
Posts: 2788

PostPosted: Tue Sep 05, 2017 6:37 pm    Post subject: Reply with quote

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
View user's profile Send private message
AEDELGOD



Joined: 31 Aug 2017
Posts: 2

PostPosted: Mon Sep 11, 2017 9:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ionCube Forum Index -> ionCube Loader All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum