maxudaskin Posted September 25, 2008 Share Posted September 25, 2008 I tried reinstalling PHP on my Apache 2.2 server, but it won't work any more. I don't know why. Errors: [Thu Sep 25 16:02:29 2008] [notice] Apache/2.2.9 (Win32) PHP/5.2.6 configured -- resuming normal operations [Thu Sep 25 16:02:29 2008] [notice] Server built: Jun 13 2008 04:04:59 [Thu Sep 25 16:02:29 2008] [notice] Parent: Created child process 756 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_oci8.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pdo_oci.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pdo_oci8.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pdo_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pdo_sqlite_external.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pgsql.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pspell.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_ibm_db2.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_ifx.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_ingres2.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_mailparse.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_maxdb.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_mcve.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_netools.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_oracle.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pdo_ibm.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_pdo_informix.dll' - The specified module could not be found.\r\n in Unknown on line 0 PHP Notice: Constant XML_ELEMENT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_TEXT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_CDATA_SECTION_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ENTITY_REF_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ENTITY_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_PI_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_COMMENT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_DOCUMENT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_DOCUMENT_TYPE_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_DOCUMENT_FRAG_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_NOTATION_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_HTML_DOCUMENT_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_DTD_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ELEMENT_DECL_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_DECL_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_ENTITY_DECL_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_NAMESPACE_DECL_NODE already defined in Unknown on line 0 PHP Notice: Constant XML_LOCAL_NAMESPACE already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_CDATA already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_ID already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_IDREF already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_IDREFS already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_ENTITY already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_NMTOKEN already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_NMTOKENS already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_ENUMERATION already defined in Unknown on line 0 PHP Notice: Constant XML_ATTRIBUTE_NOTATION already defined in Unknown on line 0 [Thu Sep 25 16:02:29 2008] [notice] Child 756: Child process is running [Thu Sep 25 16:02:29 2008] [notice] Child 756: Acquired the start mutex. [Thu Sep 25 16:02:29 2008] [notice] Child 756: Starting 64 worker threads. [Thu Sep 25 16:02:29 2008] [notice] Child 756: Starting thread to listen on port 80. [Thu Sep 25 16:03:04 2008] [notice] Parent: Received restart signal -- Restarting the server. [Thu Sep 25 16:03:04 2008] [notice] Child 756: Exit event signaled. Child process is ending. [Thu Sep 25 16:03:05 2008] [notice] Child 756: Released the start mutex [Thu Sep 25 16:03:06 2008] [notice] Child 756: All worker threads have exited. Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/ Share on other sites More sharing options...
maxudaskin Posted September 28, 2008 Author Share Posted September 28, 2008 Anything? Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/#findComment-652150 Share on other sites More sharing options...
CroNiX Posted September 28, 2008 Share Posted September 28, 2008 In you php.ini, is the extension_dir set to the actual directory the extensions are located? Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/#findComment-652151 Share on other sites More sharing options...
maxudaskin Posted September 28, 2008 Author Share Posted September 28, 2008 should be. Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/#findComment-652158 Share on other sites More sharing options...
wildteen88 Posted September 28, 2008 Share Posted September 28, 2008 Why are you enabling so many extensions? Some extensions rely on external libraries in order to function correctly, this will be explained in the PHP manual for whatever extension you wish to use. You should also check that the extension you wish to use actually exists in the PHP ext/ folder too, and that is of the same build version as the version of PHP installed. Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/#findComment-652288 Share on other sites More sharing options...
PFMaBiSmAd Posted September 28, 2008 Share Posted September 28, 2008 I'm going to ask the obvious. After you read those error messages, did you check that the folder C:\Program Files\PHP\ext exists and did you check that the .dll files mentioned in the errors exist in that folder? should be"Should be" is not a programming term. In programming you must make sure what something is by taking the steps necessary to check what it actually is. And it is not enough to just check what a setting line in a php.ini file has been set to, you must check what its' actual value is at runtime using a phpinfo() statement (syntax errors in the setting line or the php.ini not being read by php would cause the setting to not have any effect.) In your case, the php.ini is apparently being read by php since php is trying to load extensions, but you have to actually check things out and provide as much relevant information as possible since we don't have access to your computer, we don't know what steps you took to get the point you are, and we don't know what is going on in front of you because we only see the information that you provide in your posts. Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/#findComment-652330 Share on other sites More sharing options...
maxudaskin Posted September 28, 2008 Author Share Posted September 28, 2008 The files are there. Does it have anything to do with the double forward slashes? Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/#findComment-652408 Share on other sites More sharing options...
CroNiX Posted September 28, 2008 Share Posted September 28, 2008 1) run phpinfo() 2) Look for 'Loaded Configuration File' and check the path 3) Open that php.ini 4) Make sure your extension_dir is pointing to the right place 5) If change made, reboot apache In windows, mine looks like: extension_dir="C:\Apache\PHP5.2\ext" notice its not C:\\ Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/#findComment-652413 Share on other sites More sharing options...
maxudaskin Posted September 29, 2008 Author Share Posted September 29, 2008 upload_tmp_dir="C:\WINDOWS\Temp" session.save_path="C:\WINDOWS\Temp" extension_dir="C:\Program Files\PHP\ext" I don't see anything wrong. I get no errors, the script just doesn't run. Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/#findComment-652697 Share on other sites More sharing options...
marek_z_polski Posted February 16, 2009 Share Posted February 16, 2009 I see that problem was solved, so it would be really great, if the author write how he solved it :] . When I try to install PEAR package using go-pear.bat i get this message: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP5 \ext\php_pdo_oci.dll' - The specified module could not be found in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files\PHP5 \ext\php_pdo_oci8.dll' - The specified module could not be found in Unknown on line 0 and so on with few more files. Every one of them is in the right folder, and each path is also correct. My php version is 5.2.8, and apache is 2.2 Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/#findComment-763554 Share on other sites More sharing options...
maxudaskin Posted February 16, 2009 Author Share Posted February 16, 2009 I re-installed everything. Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/#findComment-763607 Share on other sites More sharing options...
marek_z_polski Posted February 16, 2009 Share Posted February 16, 2009 I was affraid you'll say that :-\ Quote Link to comment https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/#findComment-763652 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.