Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > php, mysql for mac?

php, mysql for mac?
Thread Tools
gpro
Junior Member
Join Date: Nov 2006
Status: Offline
Reply With Quote
Dec 5, 2006, 08:21 AM
 
is their any programe for mac that would basigly make your machien in to a server so basigly i can open php files from the mac and not havin to upload them to the internet before opening them with mysql? something like apache for windows but anything for mac?
     
SirCastor
Professional Poster
Join Date: Jan 2001
Location: Salt Lake City, UT USA
Status: Offline
Reply With Quote
Dec 5, 2006, 02:11 PM
 
Apache is built into OS X in System Preferences go into sharing and turn on Personal Web sharing...
As I recall, PHP is already installed, you can get a good configuration with the binaries from entropy.ch

www.mysql.net has an OS X installer as well.
2008 iMac 3.06 Ghz, 2GB Memory, GeForce 8800, 500GB HD, SuperDrive
8gb iPhone on Tmobile
     
Andy8
Mac Elite
Join Date: Apr 2003
Location: Hong Kong
Status: Offline
Reply With Quote
Dec 5, 2006, 07:20 PM
 
You could try MAMP which includes PHP, MySQL and Apache into one nice installer and setup package.
     
mania
Mac Enthusiast
Join Date: Aug 2001
Location: Durango CO
Status: Offline
Reply With Quote
Dec 17, 2006, 06:47 PM
 
SirCastor is correct. You have to turn on personal web sharing and install the php from entropy and the mysql from mysql.com. Then you can go to localhost and see your php enabled web files locally. its pretty darn straightforward compared to setting it up on win or linux - but you still have to jump through some hoops. familiarity with the command line, chown, chmod commands, and knowing where osx puts things is very useful! dang it someday I will write a tutorial - the mac is so powerful most people have no idea.
The Bitcastle
graphic design, web development, hosting
     
   
 
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -4. The time now is 11:57 PM.
All contents of these forums © 1995-2017 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.8 © 2000-2017, Jelsoft Enterprises Ltd.,