Partner and Community Forums
php not loading all extensions iis7.5
Last post Nov 02, 2009 01:28 PM by don.raman
Nov 02, 2009 05:57 AM|rkr31|LINK
I installed php 5.2.11 using fastCGI onto windows 2008R2 using the wpi and it seems to work fine. The issue i have is that i can't load any new extensions.
I tried to add the following but the do not show up in phpinfo()
I have set my extensiondir to c:\php\ext in php.ini and have the following files in that folder:
i also have the follwoing in c:\php
Nov 02, 2009 06:27 AM|kehand|LINK
If you've installed PHP through Web PI, then your PHP installation is located at C:\program files (x86)\PHP (assuming C:\ is your system drive).
Are you editing the php.ini file located at C:\PHP\php.ini or the one at C:\program files (x86)\PHP\php.ini? Please make sure it is the latter.
If it is indeed the latter, could you also try to put the lib*.dll files in the same location as the ini file (C:\program files (x86)\php).
Lastly, you should recycle the PHP processes to pick up the changes immediately or wait until the appropriate timeouts occur.
All the PHP directory locations (including the location of the ini file being loaded) can be found in the phpinfo() page.
Nov 02, 2009 01:22 PM|don.raman|LINK
Well this means some of the dependant DLL is missing and hence those extensions are not getting loaded. Run
from command prompt. This will give you an idea what DLL's are missing. if this doesn't give errors, load the PHPINFO file and ensure that proper INI file is getting loaded and not otherwise.
Also ensure that 'C:\php' is in your PATH environment variable.
Nov 02, 2009 01:28 PM|don.raman|LINK
You can also follow this blog