Hello !...
I am sure this is a
common question: I am trying to install extensions ( MySql support ), for php5 - and cant
seem to get them loaded / running.
Here is what I've
done so far:
1) ran the installer
( php-5.0.2-installerFull.exe ), ( tested php - which works
)
2) downloaded the
php-5.0.2-Win32.zip file with extensions and copied that over to the php
folder...
3) set extension_dir
= "C:\Program Files\PHP\ext" in "c:\windows\php.ini"
at this point ( when
i restart IIS ), none of the extensions load... so I though I should enable them
by uncommenting
extension=php_mssql.dll
extension=php_msql.dll
extension=php_mysql.dll
extension=php_msql.dll
extension=php_mysql.dll
when restarting IIS
I get error messages for each extension:
PHP Startup: Unable to load dynamic library "c:\program
files\PHP\ext\php_mysql.dll" ... ( and so on for the others
)...
The strange thing is
that is seems to load the extensions anyway as I can successfully connect to
mysql
$link = mysql_connect("localhost",
"user",
"pass")
or die("Could not connect: " . mysql_error());
print ("Connected successfully");
mysql_close($link);
or die("Could not connect: " . mysql_error());
print ("Connected successfully");
mysql_close($link);
... any ideas whats
going on here?
>> php-5.0.2-Win32 / IIS / WinXPSP2 /
mysql-4.0.21-win...
Cheers
karim
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004