Re: Re(2): [PHP-DB] Fatal Error using mysql_connect()
| From: | Jason Wong | Date: | Tue, 12 Mar 2002 20:18:37 +0000 |
| Subject: | Re: Re(2): [PHP-DB] Fatal Error using mysql_connect() | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17634@lists.php.net to get a copy of this message | ||
On Wednesday 13 March 2002 03:56, mailing list wrote:
> smasiello@synacor.com writes:
> >Looks like MySQL support was not compiled into PHP. If you are using a
> >linux based system you need to run the configure script with
> >the --with-mysql flag in order to utilize the MySQL function set.
> >
> >HTH
> >
> >Sam Masiello
> >Software Quality Assurance Engineer
> >Synacor
> >(716) 853-1362 X289
> >smasiello@synacor.com
>
> Sam,
>
> I recompiled using the following commands ./configure
> --with-mysql=/usr/lib/mysql
>
> but I am getting the following error while it compiles:
>
> configure: error: Cannot find header files under /usr/lib/mysql
Try:
-with-mysql=/usr
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
/*
Absence diminishes mediocre passions and increases great ones,
as the wind blows out candles and fans fires.
-- La Rochefoucauld
*/