3/25/2023 0 Comments Php for maccome first in the PATH, this is important so that other versions on your computer don’t interfere. In the /Applications/mappstack-5.4.10-0/ folder (your version might be slightly different) there is a use_mapstack file, open it in a text editor and you’ll see a PATH statement which puts all the apache, php/bin, and /bin folders, etc. ![]() It also includes other dependencies like Varnish, ImageMagick, PEAR, PECL and more! Awesome, right? Recommended PATH Update to ~/.bash_profile The stack comes with Apache all set up properly, with commented out settings for frameworks to enable, et cetera, and also has all the popular frameworks ready to go: cakePHP, laravel, symphony, zend, code igniter, and smarty. Download and install it! (If you choose MAMP instead, the paths might be slightly different, but easy to follow.) I chose the Bitnami MAPP (Mac Apache PHP Postgres) Stack. First, Pick a Bitnami stack with Apache & PHP It has made setup of PHP a breeze, and keeps everything together in a single place much like Python’s virtualenv and RVM’s handling of different Ruby versions and gemsets. My friend on Twitter pointed me to Bitnami a few weeks ago and I am extremely happy he did. ![]() Using Bitnami has been by far the easiest and most straightforward install I’ve come across. Additionally, on Mac you’ve got Apache and PHP 5.3 already on your system, but modifying it can be non-intuitive as well. There are a lot of different ways of doing it, but many of them come with a variety of annoyances or confusion. Setting up PHP can be a bit of a pain on both Windows and Mac OS X.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |