Hello all,

I have a question that might be better suited to the PHP community, but
I thought that it was also relevant to the MySQL community (and I'm
already on this mailing list!!  :-)
I am compiling PHP 4.0.6 as a dynamic module (apxs) for Apache 1.3.22
on my Darwin 1.4.1 system (Mac OS X 10.1.1).  I am successfully running
a source install of MySQL 3.23.44 (installed in /usr/local/mysql). 
After downloading and decompressing the source code for PHP, I have
used the following options in ./configure:

./configure --with-xml --with-zlib --with-mysql
--with-apxs=/usr/sbin/apxs

I omitted the argument to '--with-mysql' because I was unsure of which
directory to assign to this option.  It seemed to configure just fine,
but then at the end it displayed this warning:

+--------------------------------------------------------------------+
|                        *** WARNING ***                             |
|                                                                    |
| You chose to compile PHP with the built-in MySQL support.  If you  |
| are compiling a server module, and intend to use other server      |
| modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0,         |
| mod_perl) you must NOT rely on PHP's built-in MySQL support, and   |
| instead build it with your local MySQL support files, by adding    |
| --with-mysql=/path/to/mysql to your configure line.                |
+--------------------------------------------------------------------+

as I would like to later see about installing mod_perl or other DSOs
for Apache, I didn't want to use the built-in MySQL support.  But I'm
not sure what path to specify to the '--with-mysql' option.  Here is a
list of my /usr/local/mysql directory:

localhost:~/Downloaded/builds/build-php-4.0.6/apache_mod_php-6-2/php$
ls -lF /usr/local/mysql
total 0
drwxr-xr-x  36 root      mysqlgrp  1180 Nov 16 18:45 bin/
drwxr-xr-x   3 root      mysqlgrp   264 Nov 16 18:44 include/
drwxr-xr-x   3 root      mysqlgrp   264 Nov 16 18:44 info/
drwxr-xr-x   3 root      mysqlgrp   264 Nov 16 18:44 lib/
drwxr-xr-x   3 root      mysqlgrp    58 Nov 16 18:45 libexec/
drwxr-xr-x   3 root      mysqlgrp   264 Nov 16 18:45 man/
drwxr-xr-x   9 root      mysqlgrp   264 Nov 16 18:45 mysql-test/
drwxr-xr-x   8 mysqladm  mysqlgrp   264 Nov 21 09:56 mysqladm/
drwxr-xr-x   4 mysqladm  mysqlgrp   264 Nov 21 09:59 run/
drwxr-xr-x   3 root      mysqlgrp    58 Nov 16 18:45 share/
drwxr-xr-x  23 root      mysqlgrp   738 Nov 16 18:45 sql-bench/

drwx------   7 mysqladm  mysqlgrp   264 Nov 21 09:59 var/






If anyone can tell me which directory I should add, that would be
great.  I assume that it is '--with-mysql=/usr/local/mysql' , but I
wanted to make sure.

Thank you,

Erik Price

PS:  Just to re-clarify about my system, it is:
Darwin 1.4.1 running beneath Mac OS X 10.1.1
Apache 1.3.22 with DSO capability enabled
MySQL 3.23.44 (source install) installed in /usr/local/mysql 

=====
Microsoft e[X]tra [P]roprietary
-- Is this where you really wanted to go today ? --

http://www.redhat.com/about/opinions/xp.html

__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to