|
| View previous topic :: View next topic |
| Author |
Message |
nigi_2000
|
Posted: Thu Dec 16, 2004 9:02 pm Post subject: Setting up a MySQL and PHP server |
|
|
Hi there,
I'm a newbie. I've just installed server blag with the GUI and PHP and MySQL support. Now I want to set it up as a server with PHP and MySQL (suprise!). Initially I want to keep it on my local area network, which is 4 computers on a router.
But I'm struggling setting it all up, and I wondered if anyone knew where I could find instructions for this that are suitable for a novice? Or am I trying to run before I can walk? Thoughts are appreciated.
Thanks!!
Michael
|
|
|
 |
jebba
|
Posted: Thu Dec 16, 2004 10:30 pm Post subject: |
|
|
There's a tons of docs about this on the 'net. I mean, tons...
Here's a quick start:
To start the servers initially (only need to run once, if you don't want to have to reboot):
| Code: | /sbin/service httpd start
/sbin/service mysqld start |
To make sure they come up on reboot:
| Code: | /sbin/chkconfig --level 35 httpd on
/sbin/chkconfig --level 35 mysqld on |
Then edit a file in your web root, such as /var/www/html/index.php
That will get you going. :)
-Jeff
|
|
|
 |
Guest
|
Posted: Sun Dec 19, 2004 1:55 pm Post subject: |
|
|
Thanks - that worked perfectly :D
|
|
|
 |
|
|
|