Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > Bugs > Topic : AMPPS 2.5 - command line does not work after switch to PHP 5.4



Threaded Mode | Print  

 AMPPS 2.5 - command line does not work after switch to PHP 5.4 (3 Replies, Read 7612 times)
fiammybe
Group: Member
Post Group: Newbie
Posts: 4
Status:
I installed AMPPS in d:\AMPPS with the standard setup. After that, I changed my PHP version to PHP 5.4 (PHP 5.3 as standard version is a strange choice, as it's end of life now).
I added folder to the path using "set path=%PATH%;d:\AMPPS\php\"

When I call "php", it gets run, but I get the error 'Failed loading D:/Ampps\php-5.3\ioncube_loader_win_5.4.dll'

I need to call some command-line PHP commands (like composer), so a working CLI PHP would be necessary.
IP: --   

AMPPS 2.5 - command line does not work after switch to PHP 5.4
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

Please restore default PHP configuration.

- Goto Ampps Control Center
- Select PHP
- Select "Restore Default Configuration"
- Restart Apache

Check whether the issue is solved or not.
Let us know if you still facing the problem.

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

AMPPS 2.5 - command line does not work after switch to PHP 5.4
fiammybe
Group: Member
Post Group: Newbie
Posts: 4
Status:
I did what you asked, while remaining on PHP 5.4, and it didn't make any difference. I tried PHP 5.5 as well, and the same problem remains. When I go back to PHP 5.3, the problem is gone.

I reckon there's a hardcoded path to PHP 5.3 somewhere :-)
IP: --   

AMPPS 2.5 - command line does not work after switch to PHP 5.4
tidus
Group: Member
Post Group: Super Member
Posts: 1121
Status:
Hi,

While you are on PHP 5.4 and PHP 5.5, open PHP Configuration from AMPPS and remove the line

Code
zend_extension=....ioncube...


That is not required apparently. :)


-----------------------
Follow AMPPS on,
Twitter : https://twitter.com/AMPPS_Stack
Facebook :  http://www.facebook.com/softaculousampps
Google+ : https://plus.google.com/+AmppsStack
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is October 14, 2019, 6:07 pm.

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