Re: cannot connect to mysql on windows
| From: | raj | Date: | Mon, 27 Feb 2006 03:49:27 +0000 |
| Subject: | Re: cannot connect to mysql on windows | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-41333@lists.php.net to get a copy of this message | ||
No, It doesn't show mysql when phpinfo is called. Also, the problem was
solved when I reconfiguerd PHP as a CGI and not as an apache module. But in
general interest if anyone can suggest a solution it would be appreciated.
Raj
"El Bekko" <elbekko@gmail.com> wrote in message
news:B3.3A.30574.36860044@pb1.pair.com...
> raj wrote:
>> Hello,
>>
>> I have apache 2 and mysql 4.1 and php5 and am unable to connect to mysql
>> database server, and keep getting the following error:
>>
>> Fatal error: Call to undefined function mysql_connect() in
>> D:\backup\test.php on line 10
>>
>> I have removed the semicolon before the line:
>>
>> extension=php_mysql.dll
>>
>> I do have the extension at C:/php/ext/
>> also, I even have the server running but no luck.
>>
>> Please help.
>>
>> Raj
> Does it include MySQL information when phpinfo(); is called?