Re: [PHP-DOC] I am Facing the following error

2003-07-01 Thread Salah Faya
Dear Farooq,

This is not the correct place to ask a php help question, you've to use
php-general or visit http://www.php.net/support.php for more information
where to ask similar questions.
To get a direct answer for your question read http://www.php.net/mysql.

- Original Message -
From: "Farooq Ahmad" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 01, 2003 11:49 AM
Subject: [PHP-DOC] I am Facing the following error


> Hi
> I am getting cont. this problem on Linux based machine. send me the
solution
> with complete commands.
> Fatal error: Call to undefined function: mysql_connect() in
> /var/www/html/website/index.php on line 6
> Farooq
>
> _
> MSN 8 with e-mail virus protection service: 2 months FREE*
> http://join.msn.com/?page=features/virus
>



>
> Return-Path: <[EMAIL PROTECTED]>
> Received: (qmail 68010 invoked from network); 1 Jul 2003 08:27:52 -
> Received: from unknown (HELO hotmail.com) (64.4.17.125)
>   by pb1.pair.com with SMTP; 1 Jul 2003 08:27:52 -
> Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
> Tue, 1 Jul 2003 01:27:51 -0700
> Received: from 203.82.48.7 by lw11fd.law11.hotmail.msn.com with HTTP;
> Tue, 01 Jul 2003 08:27:51 GMT
> X-Originating-IP: [203.82.48.7]
> X-Originating-Email: [EMAIL PROTECTED]
> From: "Farooq Ahmad" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Bcc:
> Date: Tue, 01 Jul 2003 13:27:51 +0500
> Mime-Version: 1.0
> Content-Type: text/plain; format=flowed
> Message-ID: <[EMAIL PROTECTED]>
> X-OriginalArrivalTime: 01 Jul 2003 08:27:51.0632 (UTC)
> FILETIME=[A9720D00:01C33FAA]
>
> Hi
> I am getting cont. this problem on Linux based machine. send me the
solution
> with complete commands.
> Fatal error: Call to undefined function: mysql_connect() in
> /var/www/html/website/index.php on line 6
> Farooq
>
> _
> Help STOP SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>

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



Re: [PHP-DOC] I am Facing the following error

2003-07-01 Thread Ali
Hello Farooq,


On Tue, 2003-07-01 at 10:49, Farooq Ahmad wrote:
> Hi
> I am getting cont. this problem on Linux based machine. send me the solution 
> with complete commands.

Did you ever tried to google for this? 

Besides this is a list which deals with the manual/documentation of PHP
and is not used for PHP Installation related stuff.

And as this is not related to a manual issue look at this:
A hint is given by the ./configure script in the PHP source package:

[...]
--with-mysql[=DIR]  

Include MySQL support. DIR is the MySQL base directory.
If unspecified, the bundled MySQL library will be used.

[...]

> Fatal error: Call to undefined function: mysql_connect() in 
> /var/www/html/website/index.php on line 6

If the command was not found, you probably forgot to compile PHP with
MySql support. To do so, see above.

-Ali

PS: you may want to look at threads like
http://lists.php.net/article.php?group=php.install&article=10891 and in
general at PHP-Mailinglists like 'install'


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



[PHP-DOC] I am Facing the following error

2003-07-01 Thread Farooq Ahmad
Hi
I am getting cont. this problem on Linux based machine. send me the solution 
with complete commands.
Fatal error: Call to undefined function: mysql_connect() in 
/var/www/html/website/index.php on line 6
Farooq

_
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus
Return-Path: <[EMAIL PROTECTED]>
Received: (qmail 68010 invoked from network); 1 Jul 2003 08:27:52 -
Received: from unknown (HELO hotmail.com) (64.4.17.125)
 by pb1.pair.com with SMTP; 1 Jul 2003 08:27:52 -
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	 Tue, 1 Jul 2003 01:27:51 -0700
Received: from 203.82.48.7 by lw11fd.law11.hotmail.msn.com with HTTP;
	Tue, 01 Jul 2003 08:27:51 GMT
X-Originating-IP: [203.82.48.7]
X-Originating-Email: [EMAIL PROTECTED]
From: "Farooq Ahmad" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Bcc:
Date: Tue, 01 Jul 2003 13:27:51 +0500
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
Message-ID: <[EMAIL PROTECTED]>
X-OriginalArrivalTime: 01 Jul 2003 08:27:51.0632 (UTC) 
FILETIME=[A9720D00:01C33FAA]

Hi
I am getting cont. this problem on Linux based machine. send me the solution
with complete commands.
Fatal error: Call to undefined function: mysql_connect() in
/var/www/html/website/index.php on line 6
Farooq
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail


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