Permalink
Browse files

Simplify PHP 5.2 installation.

  • Loading branch information...
1 parent fb074ad commit 878d6db8a5a6dce5fb302b85db63c01ed5d2624d @pgib pgib committed Nov 10, 2011
Showing with 4 additions and 6 deletions.
  1. +4 −6 README.md
View
@@ -68,21 +68,19 @@ Check that MongoDB is running:
http://localhost:28017/
-## Step 6: Install [MySQL](http://mysql.org/)
+## Step 6: Install [MySQL](http://mysql.org/) (if you're needing to use it)
brew install mysql
*Note the instructions for copying the .plist file if you want to have MySQL automatically start when you log in.*
## Step 7: Install [PHP](http://php.net/) (optionally, but recommended) and [spawn-fcgi](http://redmine.lighttpd.net/projects/spawn-fcgi)
- brew create http://ca2.php.net/distributions/php-5.2.17.tar.gz
+Install PHP 5.2 from our own, modified recipe
-When an editor is opened up with the "formula", replace it with the contents of [[https://raw.github.com/gist/1142557/9f5232aa169c121d605292c8062329a1f8132f55/php.rb]].
+ brew install https://raw.github.com/gist/1142557/9f5232aa169c121d605292c8062329a1f8132f55/php.rb --with-mysql
-Next, Install PHP
-
- brew install php --with-mysql
+*Note that --with-mysql should only be used above if you've installed MySQL in Step 6!*
Then install spawn-fcgi:

0 comments on commit 878d6db

Please sign in to comment.