Up until now I’ve only used my online server of PHP and MYSQL.
I’m about to go on a 12 hour flight and have a lot of coding I’d like to accomplish.
What do I need to do to use LocalHost?
Do I have to go manually set up a server of some sort in terminal (I’m on a mac osx lion)
How do I set up tables? What would my database default username and password be, or do I have to set that up too? I really know nothing about LocalHost…
Thanks!
Up until now I’ve only used my online server of PHP and MYSQL. I’m
Share
You don’t automagically get a database and web server on your computer, you’d have to install them. To install Apache, PHP and MySQL at once, use xampp for Mac or MAMP as suggested by @TimS..
You then have to transfer your online files and database to your local installation.
This also is the preferred way to work (and don’t forget about version control!), since you should definetely not be doing development and testing on the live site.