hobeau Posted June 8, 2007 Share Posted June 8, 2007 Hey everyone. I'm having some issues with an installation of php5 running on windows xp. I installed it without setting up a server because i want to use it with the command prompt. The problem I'm having is that it won't load any extensions. I typed php -i and verified that it was loading C:\PHP\php.ini and it is looking for the extensions in the correct folder (C:\PHP\ext) but it keeps saying that "Specified Module Cannot Be Found". I've tried everything i know to do,, i've added "C:\PHP\ext" to the %Path% windows global variable, I've tried to manually register the dlls with regsvr32 (<-that just gave me the same 'Specified Module Cannot Be Found' error). I've posted this up on other forums, had other php experts look at it, and no one can seem to figure out why this isn't working. If someone here can help I would be very greatful! Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted June 8, 2007 Share Posted June 8, 2007 Instead of adding the extension folder to the path add just the php folder (C:/PHP). Try again. Did that solve it. Quote Link to comment Share on other sites More sharing options...
hobeau Posted June 8, 2007 Author Share Posted June 8, 2007 I added "C:\PHP\" to the %Path% variable and it still didn't work Quote Link to comment Share on other sites More sharing options...
hobeau Posted June 12, 2007 Author Share Posted June 12, 2007 Anyone have anymore ideas? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted June 12, 2007 Share Posted June 12, 2007 What happens you go to C:/php in the command prompt? to move the command prompt from the default C:/Documents and Settinsg/<username>/ directory when you start command promt type in the following command: cd C:/php/ and then press enter. The command prompt should now read C:/php> _ Now try running php through command prompt. Quote Link to comment Share on other sites More sharing options...
hobeau Posted June 12, 2007 Author Share Posted June 12, 2007 right,, thats what i'm doing. when the current working directory is c:\PHP i type php -i and it gives me a list of dlls that it could not load C:\PHP>php PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_curl.d ll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_exif.d ll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_fdf.dl l' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_ifx.dl l' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_interb ase.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_ldap.d ll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mcrypt .dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mhash. dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_msql.d ll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mssql. dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysql. dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysqli .dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_oci8.d ll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_openss l.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_fi rebird.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_ms sql.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_my sql.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_oc i.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pdo_oc i8.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_pspell .dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_sybase _ct.dll' - The specified module could not be found. in Unknown on line 0 Cannot find module (IP-MIB): At line 0 in (none) Cannot find module (IF-MIB): At line 0 in (none) Cannot find module (TCP-MIB): At line 0 in (none) Cannot find module (UDP-MIB): At line 0 in (none) Cannot find module (SNMPv2-MIB): At line 0 in (none) Cannot find module (SNMPv2-SMI): At line 0 in (none) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.