Re: Re(2): [PHP-DB] Fatal Error using mysql_connect()

2002-03-12 Thread Jason Wong

On Wednesday 13 March 2002 03:56, mailing list wrote:
> [EMAIL PROTECTED] 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
> >[EMAIL PROTECTED]
>
> 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
*/

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




RE: Re(2): [PHP-DB] Fatal Error using mysql_connect()

2002-03-12 Thread Hunter, Ray

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:[EMAIL PROTECTED]] 
Sent: Tuesday, March 12, 2002 12:57 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re(2): [PHP-DB] Fatal Error using mysql_connect()


[EMAIL PROTECTED] 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
>[EMAIL PROTECTED]

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