Web Hosting Talk







View Full Version : Ugrading PHP


Petra-Ind
08-06-2004, 11:39 AM
We have a webserver running RH 8.0 with Tomcat - The site uses JSP pages to access a Mysql database. I'm trying to upgrade PHP that is presently configured like this:
'./configure' '--with-apxs2=/usr/local/apache2/bin/apxs' '--with-mysql=/usr/local/mysql' '--with-zlib'

The problem is that there's presently no mysql directory in /usr/local. When I try configuring with '--with-mysql' I see the following warning after the "configure" command:

*** WARNING ***

You chose to compile PHP with the builtin MySQL support. If you
are compiling a server module, and intend to use other server
modules that also use MySQL (e.g, mod_auth_mysql, PHP 3.0,
mod_perl) you must NOT rely on PHP's builtin MySQL support, and
instead build it with your local MySQL support files, by adding
withmysql=/path/to/mysql to your configure line.


If I continue with "make" and "make install" will that cause problems with jsp accessing mysql?

Also, PHP appears to have been install by rpm's previously - are there any other changes that need to be done considering this?

TIA

Informity
08-06-2004, 11:45 AM
I don't see how a PHP install could screw up java.

Why don't you just get the latest PHP RPM and install that? I reckon it would be a lot easier for you.