Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : ionCube loader path error



Threaded Mode | Print  

 ionCube loader path error, modify php.ini to use ionCube loader in php that is different from 5.3 (0 Replies, Read 4269 times)
king_cucaracha
Group: Member
Post Group: Newbie
Posts: 1
Status:
Hello, I use AMPPS as a testbed/sandbox on my local computer.
I updated to AMPPS version 3.0 in windows

Trying to play with MAIANSUPPORT i was able to install it using softacoulous script.
But I needed to mirror/clone a MAIANSUPPORT installation from a production site.

I didn't use Softacoulous script because I needed to keep control on salt key, admin cookie name and other variables that might prevent me to logging in to admin area in MAIANSUPPORT.

When I tried to run MAIANSUPPORT install i couldn't start it up because an error with ionCubeloader
I checked error.log and found this.

Failed loading D:/Ampps\\php-5.3\\ioncube_loader_win_5.5.dll: D:/Ampps/www/cgi-bin/phpinfo.cgi

I've already choosen php 5.5 as default so it was strange that php.ini is pointing to php-5.3 folder.

I changed php.ini
from this
Code
zend_extension="{$path}\{$php_dir}\ioncube_loader_win_5.5.dll"

to this
Code
zend_extension="{$path}\php\ioncube_loader_win_5.5.dll"


It still didn't work. Checked again error.log and found this error message.

215: Failed loading D:/Ampps\\php\\ioncube_loader_win_5.5.dll: D:/Ampps/www/cgi-bin/phpinfo.cgi

So i changed again php.ini to this
Code
zend_extension="{$path}\php\ext\ioncube_loader_win_5.5.dll"


and it worked inmediately (obviously after restarting apache)

So I think that {$php_dir} is reading the directory that softacoulous script is using for php-- I read in another forum post about Laravel and a similar issue that softacoulous script is and will ever be php 5.3

and also the original path stated in php.ini is pointing towards php root folder instead of the ext folder.

I hope this helps another people needing to run scripts that depend on ionCube and are not automatically installed by softacoulous script.




IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is April 19, 2024, 2:47 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 11  |  Page Created In:0.516