[snip]
Fatal error: Call to undefined function: mysql_connect() in
/home/abcde/dfdfdfd/incfiles/db.inc on line 24
[/snip]
Strange indeed. Can you show the code?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you do phpinfo(), do you see in the section names *Configure
Command* this directive: --with-mysql=something ? If not, you must
re-compile PHP lwith MySQL support
Binay wrote:
Hi all!
Its really strange/weird problem for me.
it says:::
Fatal error: Call to undefined function:
, November 26, 2003 7:12 PM
Subject: RE: [PHP] mysql_connect() : undefined function
[snip]
Fatal error: Call to undefined function: mysql_connect() in
/home/abcde/dfdfdfd/incfiles/db.inc on line 24
[/snip]
Strange indeed. Can you show the code?
--
PHP General Mailing List (http://www.php.net
[snip]
I just upload a simple file containing ...
mysql_connect(localhost,username,password)
thtst it ...
[/snip]
Try mysql_pconnect(localhost,username,password);
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Binay wrote:
Hi all!
Its really strange/weird problem for me.
it says:::
Fatal error: Call to undefined function: mysql_connect() in /home/abcde/dfdfdfd/incfiles/db.inc on line 24
till afternoon site was running fine with all mysql connection .
but suddenly its showing that error
i tried mysql_pconnect() also ... but same problem..
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 7:18 PM
Subject: RE: [PHP] mysql_connect() : undefined function
[snip]
I just upload a simple file containing
it says --without-mysql --
i don know .. how suddenly this can happen
Binay
- Original Message -
From: Sophie Mattoug [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 7:16 PM
Subject: Re: [PHP] mysql_connect() : undefined function
If you do phpinfo
[snip]
i tried mysql_pconnect() also ... but same problem..
[/snip]
As the others have suggested, what does it say when you run phpinfo() ?
Is this server under your control?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
it says --without-mysql --
i don know .. how suddenly this can happen
Binay
- Original Message -
From: Jay Blanchard [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 7:23 PM
Subject: RE: [PHP] mysql_connect() : undefined function
[snip]
i tried
[snip]
it says --without-mysql --
i don know .. how suddenly this can happen
[/snip]
Do you own the server or control it? If not, someone else has recompiled
PHP without MySQL support and it needs to be re-compiled.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
]
To: [EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 7:16 PM
Subject: Re: [PHP] mysql_connect() : undefined function
If you do phpinfo(), do you see in the section names *Configure
Command* this directive: --with-mysql=something ? If not, you must
re-compile PHP lwith MySQL support
Binay
Binay wrote:
it says --without-mysql --
i don know .. how suddenly this can happen
Binay
You might have some other version of php installed that was used
instead. Check your startup scripts.
ps ax |grep httpd
will tell you where apache reads its configuration, is it the one it
should
* Thus wrote Jay Blanchard ([EMAIL PROTECTED]):
[snip]
it says --without-mysql --
i don know .. how suddenly this can happen
[/snip]
Do you own the server or control it? If not, someone else has recompiled
PHP without MySQL support and it needs to be re-compiled.
Another option is
13 matches
Mail list logo