php for macOS
Go to solution
Solved by Eigenvektor,
In that case you can compile it yourself. Or if you're on macOS older than 12, it should actually be included in the Apache installation that's bundled with macOS.
https://www.php.net/manual/en/install.macosx.php
Not sure why you're opposed to a package manager since it'll make your life a ton easier for development tasks. But you can always replicate anything it does by hand, it's just much work (busy)work.
https://getgrav.org/blog/macos-monterey-apache-multiple-php-versions
Whatever the blog does with brew, you can replicate by downloading/installing the packages yourself.

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now