Php -v (same as php –version) To unlink the last version brew unlink php For instance, your current php version is 5.5 brew unlink Unfortunately, often the PHP version pre-installed with 2 min read As noted in my posts on installing Apache, PHP and MySQL on Mac OS X, Mac OS X comes pre-installed with Apache and PHP.Update PHP on Mac OS X Main Thread Septem MacOS Mojave ships with PHP 7.1, High Sierra 7.1, Sierra ships with PHP 5.6, OSX 10.11 El Capitan with PHP 5.5.x, there is an easy upgrade method to either the latest PHP version 7.3 or 7.2 or you can also go back to the older stable version 5.6. I’m not sure why - I don’t delete any of those I just comment them out if I’m not using them. My nf had some of the lines, but not all of them - mine was missing the LoadModule and AddModule lines for php.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |