- Joined
- Feb 13, 2007
- Messages
- 254
- Reaction score
- 8
- Points
- 18
- Location
- Worthing, West Sussex, UK
- Your Mac's Specs
- 27" Retina 5K iMac 3.2Ghz Quad 24GB RAM, 1TB HD. iPhone 11.
I know OSX somewhere has a webserver built into it i.e. it runs PHP but don't know any more than that.
What I need to do is to restore a backup of my website onto the server of my Mac. The site uses an MYSQL database so do I need to install MYSQL, if so how? I also need something like PHPMyAdmin installed as I need to make some changes to my database and then re-export is an SQL file to apply to my live server.
So I guess my questions are:
Where do I put the files of my website i.e. where is the htdocs folder?
Where do I put my SQL database?
Do I need to install PHPMyAdmin or other such program and if so where is it or if it's pre-installed how do I access it?
I assume there is an Apache server or something in OSX, so how do I start it up?
If I wanted to update the versions of PHP and MYSQL that is running is there an easy way of doing this?
I've only ever done this by using an Apache distribution (includes Apache, PHP and SQL) on a PC.
What I need to do is to restore a backup of my website onto the server of my Mac. The site uses an MYSQL database so do I need to install MYSQL, if so how? I also need something like PHPMyAdmin installed as I need to make some changes to my database and then re-export is an SQL file to apply to my live server.
So I guess my questions are:
Where do I put the files of my website i.e. where is the htdocs folder?
Where do I put my SQL database?
Do I need to install PHPMyAdmin or other such program and if so where is it or if it's pre-installed how do I access it?
I assume there is an Apache server or something in OSX, so how do I start it up?
If I wanted to update the versions of PHP and MYSQL that is running is there an easy way of doing this?
I've only ever done this by using an Apache distribution (includes Apache, PHP and SQL) on a PC.