And mysql is in ports as /usr/ports/databases/mysqlNN-server where NN is the version, e.g. 50 or 51 etc.
httpd (apache) and mysql should be able to be started through /etc/rc.conf (or if you use it, /etc/rc.conf.local).
there should be scripts in /usr/local/etc/rc.d/ for starting them manually as well, plus mysqld_safe and apachectl should be within the $PATH.
the lines to add to your rc.conf to start apache automagically on boot would be:
|
Code:
|
apache22_enable="YES" |
mysqld I'm not so sure about without installing it, my MySQL database is working off OpenBSD so I start it a bit differently.