building php, using mysql for apache2

Saurabh Bathe sbathe at gmail.com
Fri Jun 3 03:53:02 UTC 2005


bruce wrote:

>hi...
>
>trying to build php4 with mysql4.1-12, for use in apache2. i have the
>following "./compile" that works for php5. however, when i try to use it for
>php4, i get a msg, stating that it can't find the MySQL Headers...
>
>can anybody provide any pointers as far as what the Headers are for mysql,
>and where they'd be located? if i knew the files, i could do a search to
>find where they're located.
>
>----------------------------------
>./configure --with-apxs2=/usr/sbin/apxs --with-mysql=/usr/bin/mysql_config
>----------------------------------
>
>thanks
>
>-bruce
>bedouglas at earthlink.net
>
>  
>
Try to use:

./configure --with-apxs2=/usr/sbin/apxs --with-mysql=shared,/usr

-Saurabh





More information about the fedora-list mailing list