PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Thursday, February 3, 2022

[FIXED] MAMP PRO 6 command line shortcut not working

 February 03, 2022     macos, macos-big-sur, mamp, mamp-pro, php     No comments   

Issue

Hello and thank you for taking your time to read this! Now to get straight to the point, I am using MAMP PRO 6 for school and recently we had to install Composer through the terminal. Upon closer inspection php -v revealed that I am not using the MAMP's php version with Xdebug but rather the pre-installed php version that comes with macOS. I have enabled Activate command line shortcuts for the selected PHP version, pear & pecl but this is not working. I'm on the latest Big Sur update and looking for a possible fix.

MAMP PRO is working with the exception of command line shortcut.


Solution

The issue is that my .profile is not being loaded automatically , current workaround is doing source ~/.profile and then confirming the location and version with which php and php -v.

Update: This did it for me https://stackoverflow.com/a/56236178/14612433



Answered By - Carbon
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing