Re: mod_log_sql running on OS X/Darwin - some success!

Tom Wiebe <[email protected]>
Newsgroups gmane.comp.apache.mod-log-sql
Message-ID <[email protected]>
On Saturday, January 4, 2003, at 11:59  AM, Chris Powell wrote:

>> Hi there,
>>
>> Just a quick note, I've tracked my difficulty running mod_log_sql on 
>> OS
>> X down to the PHP library issue. It seems to be working now that I've
>
> Tom, that's great news.  I would like to add a configuration note for 
> OS X
> to the documentation.  Did you have to do anything differently, or 
> were the
> instructions suitable for your platform?
>
>
The only changes I had to make were to where I had the various 
libraries installed.

here's the changes I made to the head of the Makefile:

APACHESOURCE    = /usr/local/src/apache_1.3.27 (Wasn't sure if this was 
really needed or not, so I downloaded the Apache source just in case)
APACHEINSTALLED = /usr/sbin
APACHEHEADERS   = /usr/include/httpd
APXS            = $(APACHEINSTALLED)/apxs

MYSQLLIBRARIES  = /usr/local/mysql/lib
MYSQLHEADERS    = /usr/local/mysql/include

I'm using a binary installation of MySQL and the default apache 
installation on OS X Client 10.2.3, the locations of these files may 
vary depending on how you've installed MySQL and will almost certainly 
be different if you're using OS X Server.

Now I've got to get down to figuring out how the recompile PHP with the 
native MySQL Libraries. I'm only Using PHP for PHPMyAdmin, so am not an 
expert on this either. Any good pointers to building a minimal PHP on 
OS X would be appreciated!

Tom

__________________________________________________________________
Reminder: to unsubscribe, send email to <[email protected]>
with the words "unsubscribe mod_log_sql" in the body (w/o quotes).
The module homepage is http://www.grubbybaby.com/mod_log_sql/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.