Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : symlink for php folder doesn't exist AMPPS 3.8



Threaded Mode | Print  

 symlink for php folder doesn't exist AMPPS 3.8 (4 Replies, Read 28890 times)
Black_Cat
Group: Member
Post Group: Newbie
Posts: 7
Status:
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?
IP: --   

symlink for php folder doesn't exist AMPPS 3.8
jenjika
Group: Member
Post Group: Newbie
Posts: 1
Status:
I have the same issue... 
IP: --   

symlink for php folder doesn't exist AMPPS 3.8
Rishi_P
Group: Member
Post Group: Elite Member
Posts: 317
Status:
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.
IP: --   

symlink for php folder doesn't exist AMPPS 3.8
Black_Cat
Group: Member
Post Group: Newbie
Posts: 7
Status:
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
IP: --   

symlink for php folder doesn't exist AMPPS 3.8
Black_Cat
Group: Member
Post Group: Newbie
Posts: 7
Status:
Hi
any news for this problem?
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is March 28, 2024, 9:51 am.

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