PHP seems to be missing from this release.
macOS 12.0 -where oh where is PHP
PHP has been removed in macOS Monterey.
This is a giant step backwards. One of the nice things about macOS is the built in apache including PHP. Please reconsider this.
MAMP (https://www.mamp.info/en/mac/) is also an option.
No one should use system PHP anyway on macOS, It is an old and insecure version. I would recommend installing PHP via brew https://github.com/shivammathur/homebrew-php
No one should use system PHP anyway on macOS, It is an old and insecure version. I would recommend installing PHP via brew https://github.com/shivammathur/homebrew-php
Can I add my tuppence-worth as another request for PHP to return to macOS 12. My first thought was that it was a licensing issue, but PHP uses a BSD-style license, so I can't understand the rationale for removing it.
Via MacPorts ( https://www.macports.org/ ):
port install php
It seems that it would be easier for one person at apple to upgrade php, rather then millions of users having to do so. Laziness.
The situation is similar for Perl. You can install perl separately via homebrew or macports, or via plenv (https://github.com/tokuhirom/plenv) or perlbrew (perlbrew.pl). This is preferred anyway since in the last few OSX releases, Apple has edited some of the internal Perl toolchain modules (such as ExtUtils::MakeMaker) in a broken way without talking to the developer team (or even responding to repeated pleas to fix their broken changes).
100% the right move. Dockerize your app and move on.
docker pull php:alpine
Hi, I installed PHP via brew from shivammathur, (macOS Monterrey) How do I activate PHP? It's not being interpreted, what I see is the code when I load a PHP file. Thanks in advance
Have you tried making changes in httpd.conf file to read php files ?
O.k., they removed php... some call it a good thing, some call it a bad thing. But; why remove PHP, but keep apache?
Buna hiç gerek yoktu. İşi zora sokmak demek bu. Php eski ve kullanılmayan bir dil değil.. Web tabanlı en gelişmiş dillerden biri durumunda ve güncellenmeye devam ediliyor. Apple desteğini çekerek iyi yapmadı. Umarım konu hakkında gerekli iyileştirmeleri yaparlar ve php desteği geri gelir.
I have installed php and many other items using Homebrew. It updates brew and many other things while it's working and that appears fine. I don't see any error messages or conflicts or requests for root password nor anything else. However, when it's finished, I will try to load http://127.0.0.1/phpinfo.php which is nothing more than When I load this page in Firefox, it shows nothing but a blank page. If I view source, it shows the PHP code which tells me it was not interpreted and run on the server as it should have. It has been this way since several upgrades ago. It used to work fine, then all of a sudden it stopped and has behaved as described ever since. Every time I do another Mac OS system upgrade, I think it will fix itself but it never does. I would like to know a list of steps to see if it runs at all, to see if it runs incorrectly and to fix it if possible. This has moved to the front of my attention because I just upgraded to Mac OS Monterey 12.0.1.