Summary: PHP 4.1.2

From: Darryl Cook <dlc_at_cs.appstate.edu>
Date: Fri, 22 Mar 2002 14:06:03 -0500

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_at_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_at_miami.edu
Received on Fri Mar 22 2002 - 19:06:19 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:43 NZDT