Jump to content

Recommended Posts

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.

Link to comment
https://forums.phpfreaks.com/topic/125836-solved-php526-on-apache-22-errors/
Share on other sites

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.

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.

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:\\

 

 

  • 4 months later...

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.