Re(2): [PHP-DB] Fatal Error using mysql_connect()
| From: | mailing list | Date: | Tue, 12 Mar 2002 19:56:38 +0000 |
| Subject: | Re(2): [PHP-DB] Fatal Error using mysql_connect() | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17632@lists.php.net to get a copy of this message | ||
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
Any ideas?
Regards,
Adrian