PDA

View Full Version : php+mysql+iis


adil
March 10th, 2006, 21:18
hello guys,
Please help me in configuring php with mysql on iis. I am using windows XP.
I have vistied the site www.php.net/mysql, and tried to follow those instructions written over there, but cant get any success.

I have placed both the files 'libmysql.dll' and 'php_mysql.dll' in my system folder, i have uncommented the following line in php.ini file -> extension=php_mysql.dll.
I cant understand where is my extension_dir or i think i cant find that.

but still its giving me following error
'error: Call to undefined function mysql_query() in F:\aia\projectaidd\mydb.php on line 21
PHP Warning: PHP Startup: Unable to load dynamic library './php_mysql.dll' - The specified procedure could not be found. in Unknown on line 0 '

Please help me guys as i have been trying to solve this problem for three hours now.

adil
March 10th, 2006, 23:50
I just want to give an update on this. I have to uninstall the php previously installed on my computer by auto installer.
I installed php again and this time manually. It seems to me that its working a'right.

the_pm
March 11th, 2006, 15:25
I'm glad you got that sorted Adil, because I was skeptical that anyone was going to have an answer for you on this one :)

adil
March 13th, 2006, 15:11
I'm glad you got that sorted Adil, because I was skeptical that anyone was going to have an answer for you on this one

heh, why ? because of my poor way of explaining the problem or due to the combination(iis+mysql+php) i am using? :)

the_pm
March 13th, 2006, 15:39
The combination is the tough part. It is perfectly acceptable and normal. There are just a lot more people on IWDN familiar with Apache versus IIS. Corey Bryant knows a thing or two about IIS. I'm really not sure who else might have come up with a good response for you :)