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

Sunday, April 3, 2022

[FIXED] MAMP and PHP on Terminal

 April 03, 2022     mamp, php, terminal     No comments   

Issue

So I have installed MAMP and I am using PHP, however I also used Terminal with PHP as well. Now for some reason Terminal is not working with PHP anymore, for example:

Terminal / PHP command not found

Terminal / PHP command not found

So basically I can not work with anything at the moment. I have also simplified .bashrc and .bash_profile.

Terminal and PHP not found

Terminal and PHP not found

Thanks. mac-machine


Solution

The problem is working with PHP command line is not found with ZSH, it gets a message: zsh: command not found: php.

So working with older BASH instead of ZSH it works fine.



Answered By - David Daoud
Answer Checked By - Cary Denson (PHPFixing Admin)
  • 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