/    Sign up×
Community /Pin to ProfileBookmark

php for macOS manual install

Hi! Is there is a php build for macOS where I don’t have to install third party crap like homebrew or macports. I just don’t want to install a bunch of stuff to clutter my MacBook that I will use once for php and that will be difficult to completely remove.So do you have any idea where can I get just php and directly install it? Like a build, a dmg file or something, please, I really need it

to post a comment
Full-stack Developer

4 Comments(s)

Copy linkTweet thisAlerts:
@NogDogNov 09.2022 — tldr: I've always used Homebrew for that without any concerns/issues, myself.

I personally have always used Homebrew, both on my personal Mac and my work Mac. PHP is just one of many tools I have installed via it, so guess I value the ease of using it over figuring out how to manually install each and every one of them. 🤷

I suppose you could [compile it yourself](https://www.php.net/manual/en/install.macosx.compile.php), but I would avoid that at all costs, myself: then you have to deal with all the underlying dependencies that Homebrew takes care of.

Don't know if there's something comparable to XAMPP for Mac that's reasonably up to date? I used to use that years ago, but I don't think it's kept up with the recent major versions of PHP.

Of course, another thing I have installed via Homebrew is Docker, so anything "serious" I'm doing is done with Docker containers running whatever versions of PHP (and PostgreSQL, and Apache, and...) I need for that project. :) (Talk about adding more stuff to my storage. ;) )
Copy linkTweet thisAlerts:
@sibertNov 09.2022 — PHP is bundled with macOS since macOS X (10.0. 0) prior to macOS Monterey (12.0. 0)...

Since Monterey this force is no longer with us...
Copy linkTweet thisAlerts:
@stefanmzauthorNov 13.2022 — @NogDog#1648378 all right, maybe I will get homebred or run it in a docker then, thanks!
Copy linkTweet thisAlerts:
@stefanmzauthorNov 13.2022 — homebrew
×

Success!

Help @stefanmz spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.29,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...