How to fix config mysql?
am 23.07.2009 08:16:47 von Yi Wang
--000e0cd2de8eb729ca046f596edd
Content-Type: text/plain; charset=GB2312
Content-Transfer-Encoding: quoted-printable
Hi, all!
I have intalled apache and php on win32, It works fine. I can get phpinfo
page correctly.
And I intall mysql then. It works fine itself too. I can start the service,
and get into mysql throuth the cmd line.
But, when I go php with sql by wirting mysql_connect, the broswer says "Cal=
l
to undefined function mysql_connect()".
I have uncommented php_mysql.dll and set the right ext_dir in the php.ini,
and made certain that the actural dll does in the ext_dir,
and tried all the way by coping dll into windir and set the envirnment var
path, but It Simplyly does not work!
Cound anyone give me some clues or even solutions? Thank you very much!
Best,
wangyi
--=20
ºÍÄãÔÚÒ»Æð
--000e0cd2de8eb729ca046f596edd--
Re: How to fix config mysql?
am 23.07.2009 08:28:45 von Ankur Singh
Please add mysql dll to you php extension directory
2009/7/23 yi wang :
> Hi, all!
>
> I have intalled apache and php on win32, It works fine. I can get phpinfo
> page correctly.
>
> And I intall mysql then. It works fine itself too. I can start the servic=
e,
> and get into mysql throuth the cmd line.
>
> But, when I go php with sql by wirting mysql_connect, the broswer says "C=
all
> to undefined function mysql_connect()".
>
> I have uncommented php_mysql.dll and set the right ext_dir in the php.ini=
,
> and made certain that the actural dll does in the ext_dir,
>
> and tried all the way by coping dll into windir and set the envirnment va=
r
> path, but It Simplyly does not work!
>
>
> Cound anyone give me some clues or even solutions? Thank you very much!
>
> Best,
>
>
> wangyi
>
>
> --
> ºÍÄãÔÚÒ»Æð
>
--=20
The Gate of Change is Locked on the INSIDE.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to fix config mysql?
am 23.07.2009 14:07:28 von Phpster
Sorry for top posting, a little flaw in the web version of gmail.
Restart the web server to get the ini change to take effect
bastien
On Thursday, July 23, 2009, Ankur Singh wrote:
> Please add mysql dll to you php extension directory
>
> 2009/7/23 yi wang :
>> Hi, all!
>>
>> I have intalled apache and php on win32, It works fine. I can get phpinf=
o
>> page correctly.
>>
>> And I intall mysql then. It works fine itself too. I can start the servi=
ce,
>> and get into mysql throuth the cmd line.
>>
>> But, when I go php with sql by wirting mysql_connect, the broswer says "=
Call
>> to undefined function mysql_connect()".
>>
>> I have uncommented php_mysql.dll and set the right ext_dir in the php.in=
i,
>> and made certain that the actural dll does in the ext_dir,
>>
>> and tried all the way by coping dll into windir and set the envirnment v=
ar
>> path, but It Simplyly does not work!
>>
>>
>> Cound anyone give me some clues or even solutions? Thank you very much!
>>
>> Best,
>>
>>
>> wangyi
>>
>>
>> --
>> ºÍÄãÔÚÒ»Æð
>>
>
>
>
> --
> The Gate of Change is Locked on the INSIDE.
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--=20
Bastien
Cat, the other other white meat
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: How to fix config mysql?
am 24.07.2009 08:52:15 von Martin Kuckert
> I have uncommented php_mysql.dll and set the right ext_dir in the php.ini,
> and made certain that the actural dll does in the ext_dir,
You propably got the wrong php.ini. Under windows are severals of them.
Take that one mentioned in the apache configurations or that one in the
bin directory of the apache if there is no setting in the configs.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php