Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Help setup apache/mysql on MacOSX server

Help setup apache/mysql on MacOSX server
Thread Tools
Mac Elite
Join Date: Aug 2000
Location: Minneapolis, MN
Status: Offline
Reply With Quote
Jan 16, 2003, 07:35 AM
 
I've setup PHP/MySql on apache several times now on linux or OSX (standard), but OSX Server comes with apache and php and mysql.

The thing is their apache doesn't appear to be configured with the mysql module to allow web transactions into mysql.

Am I just missing something in the /etc/httpd/http.conf file?

I'm fairly competent when it comes to compiling and configuring unix, but I don't want to 'mess up' the existing apache or mysql.

I've looked at Apple's site and at other online resources and can't find anything but starting from scratch. Does anyone know where the sourcefiles are for apache? Or how to add the mysql support?

TIA.
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Jan 16, 2003, 11:12 AM
 
Originally posted by bluedog:
I've setup PHP/MySql on apache several times now on linux or OSX (standard), but OSX Server comes with apache and php and mysql.

The thing is their apache doesn't appear to be configured with the mysql module to allow web transactions into mysql.

Am I just missing something in the /etc/httpd/http.conf file?

I'm fairly competent when it comes to compiling and configuring unix, but I don't want to 'mess up' the existing apache or mysql.

I've looked at Apple's site and at other online resources and can't find anything but starting from scratch. Does anyone know where the sourcefiles are for apache? Or how to add the mysql support?

TIA.
If you're worried about "messing up" the existing install, why not just compile up a new apache? Get it here:

http://httpd.apache.org/download.cgi

I don't think there is any such thing as adding mysql support to apache. Apache is just a web server. Instead, you want to make sure PHP has MySQL support built in.

Build instructions are here:

http://www.stepwise.com/Articles/Wor...-03-24.01.html
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
bluedog  (op)
Mac Elite
Join Date: Aug 2000
Location: Minneapolis, MN
Status: Offline
Reply With Quote
Jan 17, 2003, 07:41 AM
 
Sheesh, yeah I forgot its really the php config that adds the mysql functionality for the webserver.

I'm astonished it isn't available by default, since both mysql and php are installed on OSX Server.

Thanks for the push in the right direction.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:17 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2