Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old September 27th, 2001, 11:25 PM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 8
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
Question apache + mysql + php on bsd

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!!

Reply With Quote
  #2  
Old September 28th, 2001, 01:24 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> 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.

Reply With Quote
  #3  
Old September 28th, 2001, 08:08 AM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 8
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
Quote:
Originally posted by freebsd
>> 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.


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

Reply With Quote
  #4  
Old September 28th, 2001, 09:24 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> 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

Reply With Quote
  #5  
Old September 28th, 2001, 01:11 PM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 8
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
Thanks. I appreciate it!

Brett

Reply With Quote
  #6  
Old September 28th, 2001, 03:48 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > apache + mysql + php on bsd


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT