RE: Re(2): [PHP-DB] Fatal Error using mysql_connect()
| From: | Hunter, Ray | Date: | Tue, 12 Mar 2002 20:12:09 +0000 |
| Subject: | RE: Re(2): [PHP-DB] Fatal Error using mysql_connect() | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-17633@lists.php.net to get a copy of this message | ||
Sometimes the include files are located in /usr/include/mysql
You might want to try there and see...Some times they are in /var/include
depending on the flavor of your OS
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: mailing list [mailto:mailing_list@BNFUSA.com]
Sent: Tuesday, March 12, 2002 12:57 PM
To: smasiello@synacor.com
Cc: php-db@lists.php.net
Subject: Re(2): [PHP-DB] Fatal Error using mysql_connect()
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
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php