Skip to content

Activate PHP on macOS Monterrey #491

Discussion options

You must be logged in to vote

After installing php make sure you have linked the PHP version as documented in the README.
https://github.com/shivammathur/homebrew-php#install-php

Then check that the correct PHP version is installed by running php -v in a new terminal.

If you are trying to run PHP with a web server like apache/httpd. Make sure you have set it up correctly.
This is a good guide for that: https://getgrav.org/blog/macos-bigsur-apache-multiple-php-versions

Replies: 3 comments 12 replies

Comment options

You must be logged in to vote
1 reply
@avivamientodev
Comment options

Answer selected by shivammathur
Comment options

You must be logged in to vote
11 replies
@dlakmalb
Comment options

@gemkev
Comment options

@shivammathur
Comment options

@dlakmalb
Comment options

@shivammathur
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants