Softaculous


Topic : symlink for php folder doesn't exist AMPPS 3.8


Posted By: Black_Cat on October 23, 2017, 10:27 am
Hi
I installed AMPPS 3.8 on macOS Sierra and I noticed that the symlink AMPPS/php ( which was switching to the php version chosen)  was gone.
Without this symlink, this alias in the bash profile:
export AMPPS_PHP = /Applications/AMPPS/php/bin
is useless.
Indeed, the terminal and many processes point to the default-OS  php rather than php set with AMPPS. How should you do with the 3.8?

Posted By: jenjika on October 23, 2017, 11:29 am | Post: 1
I have the same issue... 

Posted By: Rishi_P on October 24, 2017, 9:34 am | Post: 2
Hi,

Yes, we had removed this in the current version of AMPPS. This was done as per the new structure of the AMPPS which was implemented in the current version. But since many users are asking for this, after having a talk with the team we have decided to re-implement it in the next version of AMPPS.

For now you can create the symlink of the required PHP versions directory using the below command:

For 5.6
ln -s /Applications/AMPPS/php-5.6 /Applications/AMPPS/php

Sorry for the inconvenience caused.

Posted By: Black_Cat on October 24, 2017, 9:50 am | Post: 3
Ok.
for now i resolve add this code in my .bash_profile:

alias changephp55="alias php=/Applications/AMPPS/php-5.5/bin/php"
alias changephp56="alias php=/Applications/AMPPS/php-5.6/bin/php"
alias changephp70="alias php=/Applications/AMPPS/php-7.0/bin/php"
alias changephp71="alias php=/Applications/AMPPS/php-7.1/bin/php"


obviously it need to execute the right command at every php version switch, but as a temporary fix it may be useful.

Thanks for the info

I'm waiting for the new version
Thanks

Posted By: Black_Cat on January 11, 2018, 12:06 pm | Post: 4
Hi
any news for this problem?

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.