|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Ok, I have been toying around with FreeBSD, and I have installed:
MySQL PostgresSQL Apache Mod_php4 (in that order) using the port system. My question is, doe the port system take care of configuring them all to work together, or do I have to go in and mess with the conf files myself? Dumb question, I know, but I needed to ask. Thanks! Brett BTW, FreeBSD rocks!! |
|
#2
|
|||
|
|||
|
>> doe the port system take care of configuring them all to work together
Not quite. You need to enable mysql and pgsql when installing mod_php4. >> or do I have to go in and mess with the conf files myself? What do you think? If you accept everything by default, FreeBSD is not for you. |
|
#3
|
||||
|
||||
|
Quote:
Well, no, I don't. I am not lazy, definately not dumb, and willing to learn. I was just asking. Thanks for the encouragement. Brett |
|
#4
|
|||
|
|||
|
>> and willing to learn
Okay. For pgsql, once install, you need to initialize the database template1. Of course, you need to alter ~pgsql/postgresql.conf. The bootup script resides at /usr/local/etc/rc.d/010pgsql.sh. As for Apache, check out /usr/local/etc/apache/httpd.conf mod_php4, you need to rename /usr/local/etc/php.ini-dist to /usr/local/etc/php.ini |
|
#5
|
||||
|
||||
|
Thanks. I appreciate it!
Brett |
|
#6
|
|||
|
|||
|
Another thing. By default, FreeBSD installs Apache docroot to /usr/local/www/data, which is not so good for performance. Though, it's still better than most Linux dist. for putting it under /var partition. If you have a partition that is not in use often, consider putting your docroot under that partition.
A good docroot may be /www/htdocs on a dedicated /www partiton, for security, performance and reliability. |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > apache + mysql + php on bsd |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|