summaryrefslogtreecommitdiffstatsabout
path: root/INSTALL
diff options
context:
space:
mode:
authorChristopher Powell <chris@grubbybaby.com>2002-06-27 20:09:17 (GMT)
committer Christopher Powell <chris@grubbybaby.com>2002-06-27 20:09:17 (GMT)
commit80673c37abcedb421c04193f50e0cd53a6ac01c4 (patch)
tree7a98b73f0341348b6ef81bb17a552dcb9dca7c0b /INSTALL
parente8f3aec956154276082ca2b6ed40ac4a320c6af0 (diff)
Lots of changes & bugfixes as requested on the list. Pre-1 of 1.17.1.17pre1
Diffstat (limited to 'INSTALL')
-rw-r--r--INSTALL25
1 files changed, 9 insertions, 16 deletions
diff --git a/INSTALL b/INSTALL
index 03adc35..7c48c21 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,4 +1,4 @@
1$Id: INSTALL,v 1.8 2002/05/14 21:47:14 helios Exp $ 1$Id: INSTALL,v 1.9 2002/06/27 20:09:17 helios Exp $
2 2
3 3
4Requirements 4Requirements
@@ -65,26 +65,19 @@ For folks interested in using this module as an Apache DSO:
65 EXAMPLE: 65 EXAMPLE:
66 # /usr/sbin/apxs -i -c -L/usr/lib/mysql -lmysqlclient -lz mod_log_sql.c 66 # /usr/sbin/apxs -i -c -L/usr/lib/mysql -lmysqlclient -lz mod_log_sql.c
67 67
68 You should see something like this: 68 You should see something similar to this:
69 69
70 gcc -fpic -DSHARED_MODULE -I/usr/local/Apache/include -c mod_log_sql.c 70 gcc -fpic -DSHARED_MODULE -I/usr/local/apache/include -c mod_log_mysql.c
71 ld -Bshareable -o mod_log_sql.so mod_log_sql.o 71 gcc -shared -o mod_log_mysql.so mod_log_mysql.o -L/usr/local/lib/mysql/ -lmysqlclient -lz
72 cp mod_log_sql.so <your path to Apache libexec>/mod_log_sql.so 72 cp mod_log_mysql.so /usr/local/apache/libexec/mod_log_mysql.so
73 chmod 755 <your path to Apache libexec>/mod_log_sql.so 73 chmod 755 /usr/local/apache/libexec/mod_log_mysql.so
74 [activating module blah in /path/to/apache/etc/httpd.conf]
75 74
764) Add the following stanzas to your httpd.conf file. Put the second stanza 754) Add the following lines to your httpd.conf file. Put the second line
77 somewhere after the ClearModuleList directive. 76 somewhere after the ClearModuleList directive.
78 77
79 <IfDefine HAVE_LOG_MYSQL> 78 LoadModule mysql_log_module libexec/mod_log_sql.so
80 LoadModule mysql_log_module modules/mod_log_sql.so
81 </IfDefine>
82
83
84 <IfDefine HAVE_LOG_MYSQL>
85 AddModule mod_log_sql.c
86 </IfDefine>
87 79
80 AddModule mod_log_sql.c
88 81
895) Now go to step (9) in the instructions below to configure httpd.conf... 825) Now go to step (9) in the instructions below to configure httpd.conf...
90 83