How to run Wordpress on OS X Server 10.6.8?
I'm trying to host my own wordpress site on my Mac Mini Server and I've spent a couple days of fiddling with no joy.
Obviously wordpress wnats us to use MAMP, but that runs Apache and Mysql... services already bundled with OS X Server.
I've followed this advice so far:
http://www.kevinleah.co.uk/2009/11/running-wordpress-on-os-x-10-6-snow-leopard-s erver/
It's was easy enough to follow I guess after I learnt to edit php.ini with terminal using sudo pico...
A worrying thing... out of the box there is no /private/etc/php.ini file... there was however a /etc/php.ini file that I modified... I hope I've modified the right file!!
A further worrying thing... I can set the Mysql password in Server Admin but there seems to be no obvious way to create a unique Mysql user name for the wordpress site.
Thus.. how do you install wordpress on the OS X server?
I installed the contents of the wordpress folder in /Library/Webserver/Sites/myregistereddomain.com/ which is a folder that the Server Admin web setup established. I do not know if that is the best place for it.
wp-config.php setup also seems tricky....
DB_name = "/var/mysql/wordpress" - does mysql create that "wordpress" database automatically in the default Mysql db location: /var/mysql/ or do I have to do something more than just name it in the wp-config.php file?
DB-User = "root" ... In Server Admin there seems to be no obvious way of creating a specific user.
DB-Password = "root" .. I suppose that will match the root password I established in Server Admin Mysql settings... but shouldn't it be unique to wordpress?
DB_Host = "127.0.0.1" ..... should that actually be set to the domain name of the server?
Thanks
Gaz