Re: Question about install PHP4 with MySQL 3.23.53
| From: | John Coder | Date: | Wed, 30 Oct 2002 05:57:45 +0000 |
| Subject: | Re: Question about install PHP4 with MySQL 3.23.53 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-8968@lists.php.net to get a copy of this message | ||
On Tue, 2002-10-29 at 23:27, Liu, Zhilin (UMC-Student) wrote:
> Hi,
>
> I am trying to install php4.2.3 with the support of MySQL. I use rpm to install Mysql as
> following:
>
> rpm -i MySQL-3.23.53a-1.i386.rpm
> rpm -i MySQL-client-3.23.53a-1.i386.rpm
> rpm -i MySQL-devel-3.23.53a-1.i386.rpm
> rpm -i MySQL-shared-3.23.53a-1.i386.rpm
>
> MySQL was automatically installed to many directories like /usr/bin, /usr/include, /usr/lib,
> ....
>
> Now when I try to install PHP4.2.3 with the following command:
> ./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/??? --prefix=/usr/local/php
>
> I always get the information : can't find header files under /???. I have tried
> /usr/include/mysql and so on. No one seems to work. Does any one has any idea which file php needs?
> Is there a way to solve this without reinstall MySQL? Or how do I use rpm to specify the location
> (say /usr/local/mysql) to install those rpms?
Mysql doesn't provide header files with their rpm's unless you get the
src.rpm. all you have to do for built in mysql support is do a
--with-mysql.
John Coder