Hi all
I'm working on setting up LAMP. I'm not a PHP newbie, but I am a Linux newbie. I installed Apache 2.0.52 from source and also PHP 5.0.2 from source. This worked fine. However, prior to installing PHP, I installed MySQL from RPMs. I'm afraid I was misled by the MySQL manual, which recommends installing from RPMs. However, I was in a bookshop yesterday, leafing through the latest O'Reilly edition of PHP and MySQL and it recommends building from source.
So ... I ran ./configure on PHP using the following statement:
./configure
--with-apxs2=/usr/local/apache2/bin/apxs
--with-mysqli
--without-sqlite
--with-xsl=/usr/lib
--enable-soap
--with-libxml-dir=/usr/lib
Perhaps I should also have added --without-mysql, because I want mysqli as you can see. Whatever - the configuration ran successfully but ended with the following note:
checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
mysql_config not found
configure: error: Please reinstall the mysql distribution
So I want to uninstall my client and server installation and do it again from source. I installed the following packages:
MySQL-server-4.1.7-0.i386.rpm
MySQL-client-4.1.7-0.i386.rpm
I tried doing: rpm -e /package/.rpm, but it says that these RPMs are not installed - weird.
Any suggestions as to how to get rid of MySQL cleanly so that I can start again? I have read several threads and I have consulted the MySQL manual closely. I really have spent several hours looking for the answers myself.
Distro: SuSE 9.0 Pro, kernel 2.4
Thanks
Norm 😕