https://developer.apple.com/forums/thread/681907 [ ] * Global Nav Open Menu Global Nav Close Menu * Apple Developer Search Developer Cancel * Apple Developer * Discover * Design * Develop * Distribute * Support * Account * [ ] Cancel Developer Forums Search by keywords or tags [ ] Submit Search Clear search query Additional information about Search by keywords or tags Supported Searches: Keyword search keyword Single tag [iOS] Multiple tags with OR [iOS] OR [macOS] OR [Xcode] Multiple tags with AND [iOS][macOS][Xcode] Keywords and tags [iOS][macOS] keyword Usernames and profiles user:appleseed Ask Profile ^ * Sign in * Create account Search by keywords or tags [ ] Submit Search Clear search query Additional information about Search by keywords or tags Supported Searches: Keyword search keyword Single tag [iOS] Multiple tags with OR [iOS] OR [macOS] OR [Xcode] Multiple tags with AND [iOS][macOS][Xcode] Keywords and tags [iOS][macOS] keyword Usernames and profiles user:appleseed macOS 12.0 -where oh where is PHP You're now watching this thread and will receive emails when there's activity. Click again to stop watching or visit your profile/homepage to manage your watched threads. You've stopped watching this thread and will no longer receive emails when there's activity. Click again to start watching. PHP seems to be missing from this release. * macOS Post not yet marked as solved Up vote post of jwestveer Down vote post of jwestveer 2.5k views Asked by jwestveer Copy to clipboard Share this post Copied to Clipboard Answer this Question * votes 1 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 -- smhaitvhaumr Add a Comment Answers PHP has been removed in macOS Monterey. Posted by Developer Tools Engineer Copy to clipboard Share this post Copied to Clipboard Post not yet marked as solved Up vote reply of Developer Tools Engineer Down vote reply of Developer Tools Engineer * votes 2 That would be unfortunate. How can we convince you'll to put it back in the release. -- jwestveer * votes 7 brew install php -- LH16 * votes 0 I have been trying to compile it myself. Instructions at https:// mac-dev-env.patrickbougie.com/php/ are close. Perhaps some trial and error. First issue is apsx is missing from apache -- Narv Add a Comment This is a giant step backwards. One of the nice things about macOS is the built in apache including PHP. Please reconsider this. Posted by DesertNomad Copy to clipboard Share this post Copied to Clipboard Post not yet marked as solved Up vote reply of DesertNomad Down vote reply of DesertNomad * votes 2 It's been deprecated since 10.15 https://developer.apple.com/ documentation/macos-release-notes/ macos-catalina-10_15-release-notes#Scripting-Language-Runtimes 12.0 is a major release, so Apple did the right thing. -- oandreyev * votes 5 This is a giant step forward. The version of Php that Apple ships with is almost always an outdated version, without the useful extensions. For anyone working with php, there are now much easier ways to install and manage multiple versions at once (brew, docker etc) without having to deal with outdated and conflicting versions. Plus, it cleans up the system for the rest of us. Thanks Apple! good call -- sideshownz * votes 0 Also running PHP binary would've given hints = /usr/bin/php -v WARNING: PHP is not recommended PHP is included in macOS for compatibility with legacy software. Future versions of macOS will not include PHP. PHP 7.3.24-(to be removed in future macOS) (cli) (built: May 8 2021 09:40:37) ( NTS ) -- todeveni Add a Comment MAMP (https://www.mamp.info/en/mac/) is also an option. Posted by aagd Copy to clipboard Share this post Copied to Clipboard Up vote reply of aagd Down vote reply of aagd Add a Comment 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 Posted by smhaitvhaumr Copy to clipboard Share this post Copied to Clipboard Post not yet marked as solved Up vote reply of smhaitvhaumr Down vote reply of smhaitvhaumr Add a Comment 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. Posted by FlyingCodeMonkey Copy to clipboard Share this post Copied to Clipboard Post not yet marked as solved Up vote reply of FlyingCodeMonkey Down vote reply of FlyingCodeMonkey Add a Comment Via MacPorts ( https://www.macports.org/ ): port install php Posted by dClauzel Copy to clipboard Share this post Copied to Clipboard Post not yet marked as solved Up vote reply of dClauzel Down vote reply of dClauzel * votes 0 Have you actually tried that? -- jwestveer Add a Comment 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. Posted by jwestveer Copy to clipboard Share this post Copied to Clipboard Up vote reply of jwestveer Down vote reply of jwestveer Add a Comment 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). Posted by diethyl_ether Copy to clipboard Share this post Copied to Clipboard Post not yet marked as solved Up vote reply of diethyl_ether Down vote reply of diethyl_ether Add a Comment Developer Footer This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Developer Forums Participation Agreement. Developer 1. Apple Developer Forums [ ] Discover Open Menu Close Menu * macOS * iOS * watchOS * tvOS * Safari and Web * Games * Business * Education * WWDC [ ] Design Open Menu Close Menu * Human Interface Guidelines * Resources * Videos * Apple Design Awards * Fonts * Accessibility * Internationalization * Accessories [ ] Develop Open Menu Close Menu * Xcode * Swift * Swift Playgrounds * TestFlight * Documentation * Videos * Downloads [ ] Distribute Open Menu Close Menu * Developer Program * App Store * App Review * Mac Software * Apps for Business * Safari Extensions * Marketing Resources * Trademark Licensing [ ] Support Open Menu Close Menu * Articles * Developer Forums * Feedback & Bug Reporting * System Status * Contact Us [ ] Account Open Menu Close Menu * Certificates, Identifiers & Profiles * App Store Connect To view the latest developer news, visit News and Updates. Copyright (c) Apple Inc. All rights reserved. Terms of Use Privacy Policy License Agreements [6671db3b-519d-4ade-9]