New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Installing PHP and MySQL on Snow Leopard workstation.


Post Reply New Thread Subscribe

 
Thread Tools
Unibody

 
Unibody's Avatar
 
Member Since: May 31, 2009
Location: Vancouver, Canada
Posts: 203
Unibody will become famous soon enough
Mac Specs: 15" Unibody (Jan 09)

Unibody is offline
I'll be going away for the holidays and will be without an internet connection for two weeks. I want to use this time to teach myself MySQL (I'm already pretty experienced with PHP).

Due to lack of outside communication abilities, I'll need to install PHP and MySQL locally on my MacBook Pro. I know OS X comes bundled with Apache, so that's fine, but I've never really used a Mac as a server before (I use FreeBSD for that).

My question is - how would I go about installing PHP and MySQL to my Mac running SL?

Thanks.
QUOTE Thanks
Raz0rEdge

 
Raz0rEdge's Avatar
 
Member Since: Jul 17, 2009
Location: MA
Posts: 7,514
Raz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant futureRaz0rEdge has a brilliant future
Mac Specs: 27" i7 iMac, 24" iMac, 13" Macbook Air, iPhone 5 & 5S, iPod Nano 7th Gen, iPad 2 16GB WiFi, iPad 3

Raz0rEdge is offline
MAMP: Mac, Apache, MySQL, PHP

Regards
QUOTE Thanks
xstep

 
xstep's Avatar
 
Member Since: Jun 25, 2005
Location: On the road
Posts: 3,231
xstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to allxstep is a name known to all
Mac Specs: 2011 MBP, i7, 16GB RAM, MBP 2.16Ghz Core Duo, 2GB ram, Dual 867Mhz MDD, 1.75GB ram, ATI 9800 Pro vid

xstep is offline
Type the following in Terminal. Isn't PHP already installed.
php -v
That leaves MySQL which last time I checked, had a download. Don't forget to read the platform notes.

You may have to tweak Apache to allow PHP to be used MySQL.

CameraTime - Time lapse photography for novice and advanced users.

When asking questions, post the version of your software. You'll receive better answers.

Please post your results to the thread as it is good feedback.
QUOTE Thanks
Unibody

 
Unibody's Avatar
 
Member Since: May 31, 2009
Location: Vancouver, Canada
Posts: 203
Unibody will become famous soon enough
Mac Specs: 15" Unibody (Jan 09)

Unibody is offline
Thanks
QUOTE Thanks

Post Reply New Thread Subscribe


« Maintaining the state of the application | Help needed on F_NOCACHE »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
php can't connect to mysql tdunphy OS X - Development and Darwin 0 11-12-2009 06:43 PM
Installing MySql extension for PHP cmessineo OS X - Development and Darwin 0 05-20-2009 10:18 AM
question about installing MySQL on a mac hintbanana Web Design and Hosting 3 02-06-2008 04:03 AM
Apache, php and mysql on leopard skorpyo Web Design and Hosting 1 01-18-2008 03:38 AM
Installing mySQl on Mac OS X sealey Web Design and Hosting 7 06-02-2005 10:45 PM

All times are GMT -4. The time now is 06:48 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?