From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <102653731622842.tru64-unix-managers.marc@archive.invalid> From: Darryl Cook Date: Fri, 22 Mar 2002 19:06:03 +0000 To: tru64-unix-managers Subject: Summary: PHP 4.1.2 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=102653731622842 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= 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= 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