Click to See Complete Forum and Search --> : Need to correct bad Linux install


Anon
06-10-2001, 07:42 AM
I have a box running at the airport where whomever installed PHP did not install it's MySQL libraries which was rather
idiotic. Anyway, I din't know how they installed it (RPM?). I uninstalled all the php rpms and it gave me errors that they
weren't installed. The server is running Linux Redhat 7.0 and I extracted all the latest PHP distribution files. However
when I go to configure it, I get an error that says:

configure: warning: --with-mysql --with-apxs: invalid host type
configure: error: can only configure for one host and one target at a time.

Firstly, I extracted the package in the usr/lib/ directory. Should it go there or somewhere else? Also, how do I uninstall
the other version of php which resides in usr/lib/php4/ or just reconfigure it so that it contains the ./configure command?

Any and all help is of course greatly appreciated

Anon
06-12-2001, 02:47 PM
Cuando usas RPM de PHP, necesitas los archivos RPM para compilar el PHP para que soporte MYSQL estos son: el cliente y el servidor. Posteriormete:
./configure --with-mysql --with-apxs