Re: Question about install PHP4 with MySQL 3.23.53
| From: | Ben | Date: | Wed, 06 Nov 2002 17:45:48 +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-9054@lists.php.net to get a copy of this message | ||
just remove those mysql rpms and compile the source code, I fixed this last
night...
good luck...
"Zhilin Liu" <zl41d@mizzou.edu> wrote in message
news:558E3568712FE74E8D0C3D4FBA2A4E8A3E0B15@TIG-MAIL2.tig.mizzou.edu...
> 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/loca
l/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?
>
> Your help will be highly appreciated!
>
> Jaleen
>
>