Dinesh Kumar wrote:
Subject: Re: [ILUG-BOM] PHP - MySQL problem


On 2/13/07, saurabh daptardar <[EMAIL PROTECTED]> wrote:

Hi,
When I try to run mysql functions from php I get a "function not defined"
message


Hi
My web server log contains following error:

[Tue Feb 13 10:54:57 2007] [error] [client 172.16.16.50] PHP
Fatal error:  Call to undefined function mysql_connect() in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\index.php on line 5,
referer: http://172.16.16.50/

Any suggestion? I feel saurabh and me are facing same problem.

hi Dinesh,

If you are using 4.x series of PHP, refer to my previous mail. I faced same problem and just tried defining that module in extensions section of php.ini file, it worked. Also check that you have compiled php with mysql (phpinfo()) and that the file mysql.so (or something like that, don't remember exactly) is present in extensions directory of php.

--
Best Regards,

Sameer N. Ingole
http://weblogic.noroot.org/
--
Better to light one candle than to curse the darkness.


--
http://mm.glug-bom.org/mailman/listinfo/linuxers

Reply via email to