How to configure the PHP command line on Mac? #864
-
Has anyone had that kind of experience on Mac (Catalina, Intel) when trying to manage users using terminal - warning: "Datenstrom Yellow requires PHP zip extension! See https://datenstrom.se/yellow/help/troubleshooting"? Test serwer on MAMP, ZIP extension installed and running. I don't get it ... |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 14 replies
-
Are you really sure that the php zip extension is installed on your server? I work with Linux and do not know Mamp but it should be possible to check which php modules are installed. Maybe according to this guide? https://documentation.mamp.info/en/MAMP-Mac/FAQ/Which-PHP-modules-are-included-in-MAMP/ In my opinion, according to yellow troubleshooting, the php zip module is not installed. |
Beta Was this translation helpful? Give feedback.
-
Only as a side note: You might encounter another szenario with different php versions when running the internal web server using the serve extension. In my development environment I'm running more than one php version in parallel to test against incompatibilities and so on. Each version has its own alias command, e.g. |
Beta Was this translation helpful? Give feedback.
-
Here's the summary for a solution with MAMP.
|
Beta Was this translation helpful? Give feedback.
-
Tip: You can let us know when your question has been answered, click on Mark as answer. |
Beta Was this translation helpful? Give feedback.
Here's the summary for a solution with MAMP.
ls -l /Applications/MAMP/bin/php
preferences are accessible in the menu → MAMP → Preferences
alias php='/Applications/MAMP/bin/php/php7.4.33/bin/php'
nano ~/.profile