Re: compiling with mysql
| From: | Michael Hall | Date: | Fri, 12 Jul 2002 01:07:56 +0000 |
| Subject: | Re: compiling with mysql | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-107147@lists.php.net to get a copy of this message | ||
OK, thanks for that. I'm about to start a full-time job developing
a portal/intranet and what have you for a tertiary education institution,
and after 'mucking about' with PHP for a couple of years and developing a
few web apps, I realise that there is a lot of detail that I need
to get clear before I start, especially config and security-related stuff.
I guess there are a lot of people in my situation, who have used PHP for
years without having a good grip on some pretty fundamental stuff. The
difference now is that it matters - my reputation (and that of PHP I
suppose, in my employer's mind at least) is on the line if I muck up.
BTW, I've had some people trying to push me in the direction of Zope for
this job, but I've had a look at it and simply don't get it's 'Zen'.
I'm
not knocking it, but I don't see how it betters good, clean OO PHP.
Anyway, thanks again.
Michael
On Thu, 11 Jul 2002, Rasmus Lerdorf wrote:
> The difference between adding a path and not is that without a path the
> bundled mysql client library will be used, whereas if you add a path then
> your system's mysql client libs will be used. It is usually a good idea
> to use the system libaries if you have them because they are more likely
> to match your server version, and if you are linking against other things
> that might be linked against the mysql client libraries, then using the
> system libraries is a better idea.
>
> -Rasmus
>
> On Thu, 11 Jul 2002, Tyler Longren wrote:
>
> > I've never compiled php with the path to mysql. I've done this on lots
> > of different servers, and it always works. I don't know if it's the
> > proper way of doing things, but it does work.
> >
> > --
> > Tyler Longren
> > Captain Jack Communications
> > tyler@captainjack.com
> > www.captainjack.com
> >
> >
> >
> > On Fri, 12 Jul 2002 10:02:40 +0930 (CST)
> > Michael Hall <olc@ninti.com> wrote:
> >
> > >
> > > Another PHP compilation question ...
> > >
> > > I've just compiled PHP 4.2.1 --with-mysql. I added no path to mysql,
> > > and it worked fine as it always does. However, I'm keen to add
> > > mod_python as a DSO to Apache as well, and noticed in PHP's INSTALL
> > > notes that I'll probably need to recompile PHP with a path to mysql:
> > >
> > > --with-mysql=/somewhere/or/other/
> > >
> > > 1. Is this always the case?
> > >
> > > 2. Where would the path be likely to be on RedHat 7.2 with MySQL rpms?
> > >
> > > TIA
> > >
> > > --------------------------------
> > > Michael Hall ninti@ninti.com
> > > --------------------------------
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
>
>
--
--------------------------------
n i n t i . c o m
php-python-perl-mysql-postgresql
--------------------------------
Michael Hall ninti@ninti.com
--------------------------------