tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Darryl Cook <dlc () cs ! appstate ! edu>
To: tru64-unix-managers
Subject: Summary: PHP 4.1.2
Date: Fri, 22 Mar 2002 19:06:03 +0000	[thread overview]
Message-ID: <102653731622842.tru64-unix-managers.marc@archive.invalid> (raw)

Well a lot of folks responded to which I am very grateful......the answer was
really quite simple though I still am not sure why it worked.   With version 4.0.6
I used the following:
./configure --with-mysql=/usr/local/mysql  --with-apxs=<path>  and it worked fine..

It appears that with 4.1.2 you dont want to specify the path for mysql even though
it picks it up at the same place  so just do
./configure --with-mysql  --with-apxs=<path>

The only place I have mysql installed is /usr/local/mysql and if you look at the
phpinfo page it shows it picking it up there but........it works so we will leave
well enough alone :-)

thanks,
darryl


mcaplin@miami.edu wrote:

> Hi Darryl.  Yes, I ran into this but on 4.1.1  My solution is use php's
> builtin mysql support (--with-mysql not --with-mysql=path).
>
> > I am trying to upgrade php to version 4.1.2 on a Alpha ES40 running
> > Tru64 5.1.   Everything compiles correctly but Apache complains about
> > the libphp4.so file and wont start.  If i put the libphp4.so file for
> > version 4.0.6 back out there then it runs fine again.
> >
> > I compiled support for php and mysql into Apache  correctly because PHP
> > 4.0.6 works fine.  I used the following to build both 4.0.6 and 4.1.2
> > versions of php.
> >   CC="/usr/bin/cc" ./configure --with-mysql=/usr/local/mysql
> > --with-apxs=/usr/local/etc/httpd/sbin/apxs
> >  make
> > apachectl stop
> > make install
> > apachectl start
> >
> >
> > I get the following error:  Cannot load   httpd/libexec/libphp4.so into
> > server:  Unresolved symbol in ../libphp4.so: mysql_error
>
> mike
> _______________________________________________________________________________
> mcaplin@miami.edu

                 reply	other threads:[~2002-03-22 19:06 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox