Where is the default install for mysql

2002-11-13 Thread Jon Reynolds
Okay, I have gotten the advice from the list to use a php4 and mysql
solution to my webcalendar instead of my previous idea. I have never
used mysql and have just installed it from the ports directory using
make then make install on freebsd 4.7 and I need to rebuild my php
with-mysql=/mysql/directory/ from how installed mysql would my path to
mysql be /usr/local/bin/mysql?

Jon




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Where is the default install for mysql

2002-11-13 Thread Kevin D. Kinsey, DaleCo, S.P.
From: Jon Reynolds [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 13, 2002 2:06 AM
Subject: Where is the default install for mysql


 Okay, I have gotten the advice from the list to use a php4 and
mysql
 solution to my webcalendar instead of my previous idea. I have
never
 used mysql and have just installed it from the ports directory
using
 make then make install on freebsd 4.7 and I need to rebuild my php
 with-mysql=/mysql/directory/ from how installed mysql would my path
to
 mysql be /usr/local/bin/mysql?

 Jon

 Think So.  PHP also has built-in support for MySQL, so you can
sometimes get away with leaving the path off of the configure option.
However, there are some warnings, I think at the end of the 'make'
of PHP, about this.  Try and see, or just do some more reading

Kevin Kinsey
DaleCo, S.P.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Where is the default install for mysql

2002-11-13 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-11-12 23:06:46 -0900:
 Okay, I have gotten the advice from the list to use a php4 and mysql
 solution to my webcalendar instead of my previous idea. I have never
 used mysql and have just installed it from the ports directory using
 make then make install on freebsd 4.7 and I need to rebuild my php
 with-mysql=/mysql/directory/ from how installed mysql would my path to
 mysql be /usr/local/bin/mysql?

a bit of background, since you seem to be confused.

PHP 4 needs the mysql client library linked in (and the header
files) to be able to talk to it. It can either use the mysql
(library) installed on your system, or it can use the one it has
bundled with it.

Use of the system library is required only under certain
circumstances. You must use it e. g. if you build PHP as the apache
module, and other apache modules use the mysql library too.
Basically, it's just a matter of conflicting versions. If mod_php is
the only apache module that uses mysql, you can safely use the
bundled library.

--with-mysql will use the bundled libmysql, --with-mysql=/path will
use mysql installed in /path. if you have mysql installed from the
port (and haven't tinkered with $PREFIX), the path will be
/usr/local.

the path you give configure in the --with-foo switch is the
directory where i'll look for lib/libfoo.a and include/foo.h.
note that this statement is *very* simplifying the matters.

-- 
If you cc me or take the list(s) out completely I'll most likely ignore
your message.  see http://www.eyrie.org./~eagle/faqs/questions.html

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message