Softaculous


Topic : ionCube loader path error


Posted By: king_cucaracha on March 11, 2015, 11:18 pm
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.





Powered By AEF 1.0.8 © 2007-2008 Electron Inc.