Installing Extensions ( php5.02 )
| From: | Karim Beyrouti | Date: | Sun, 17 Oct 2004 11:35:04 +0000 |
| Subject: | Installing Extensions ( php5.02 ) | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-14536@lists.php.net to get a copy of this message | ||
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
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);
... 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