Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Curt Zirzow
* 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 opt

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Marek Kilimajer
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 u

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Chris Hayes
AIL PROTECTED]> 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"

RE: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Jay Blanchard
[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: ht

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Binay
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 fu

RE: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Jay Blanchard
[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

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Binay
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

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Binay
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] >

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Marek Kilimajer
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

RE: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Jay Blanchard
[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

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Binay
inay" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, 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 > [/

Re: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Sophie Mattoug
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: mysql_co

RE: [PHP] mysql_connect() : undefined function

2003-11-26 Thread Jay Blanchard
[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

[PHP] mysql_connect() : undefined function

2003-11-26 Thread Binay
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 don kno