HTTP 500 internal server error with php files
Posted by: dieterm (---.access.telenet.be)
Date: September 26, 2007 12:13PM

I just installed WAMP5 on a Windows Vista computer. When I open a html page (ex [localhost]) it works fine, but if I open a php page (http://localhost/index.php) i receive the following error:
HTTP 500 Internal Server Error

the phpfile only contains this line: <?php phpinfo(); ?>

Can someone please help me?

In the error logfile I found this:
Cannot find module (IP-MIcool smiley: At line 0 in (none)
Cannot find module (IF-MIcool smiley: At line 0 in (none)
Cannot find module (TCP-MIcool smiley: At line 0 in (none)
Cannot find module (UDP-MIcool smiley: At line 0 in (none)
Cannot find module (SNMPv2-MIcool smiley: At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIcool smiley: At line 0 in (none)
Cannot find module (UCD-DEMO-MIcool smiley: At line 0 in (none)
Cannot find module (SNMP-TARGET-MIcool smiley: At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIcool smiley: At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIcool smiley: At line 0 in (none)
Cannot find module (UCD-DLMOD-MIcool smiley: At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIcool smiley: At line 0 in (none)
Cannot find module (SNMP-MPD-MIcool smiley: At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIcool smiley: At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIcool smiley: At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
Error in my_thread_global_end(): 2 threads didn't exit
[Wed Sep 26 11:47:05 2007] [notice] Child 2596: Child process is exiting
[Wed Sep 26 11:47:05 2007] [notice] Parent: Child process exited successfully.
Error in my_thread_global_end(): 2 threads didn't exit
[Wed Sep 26 11:47:12 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.4 configured -- resuming normal operations
[Wed Sep 26 11:47:12 2007] [notice] Server built: Jan 9 2007 23:17:20
[Wed Sep 26 11:47:12 2007] [notice] Parent: Created child process 3792
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_exif.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_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_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_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_sybase_ct.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_ingres.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 Warning: PHP Startup: Unable to load dynamic library 'C:\\Program Files\\PHP\\ext\\php_svn.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
[Wed Sep 26 11:47:12 2007] [notice] Child 3792: Child process is running
[Wed Sep 26 11:47:12 2007] [notice] Child 3792: Acquired the start mutex.
[Wed Sep 26 11:47:12 2007] [notice] Child 3792: Starting 250 worker threads.
[Wed Sep 26 11:47:12 2007] [notice] Child 3792: Starting thread to listen on port 80.
[Wed Sep 26 11:52:23 2007] [error] [client 127.0.0.1] PHP Warning: require_once(SAM/php_sam.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in sam_factory on line 1
[Wed Sep 26 11:52:23 2007] [error] [client 127.0.0.1] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required 'SAM/php_sam.php' (include_path='.;C:\\php5\\pear') in sam_factory on line 1

Options: ReplyQuote
Re: HTTP 500 internal server error with php files
Posted by: CyberSpatium (---.hsd1.or.comcast.net)
Date: September 26, 2007 09:22PM

I suggest you do a clean uninstall and a fresh install.

- uninstall wamp

- delete the c:\wamp folder

- restart pc

- install latest wamp

also make sure you only have one version of apache, mysql, php, etc installed.



CyberSpatium
----------------------
WAMP English Forum Admin

I have WAMP5 working with (for development use only):
Windows Vista Ultimate x64 (64 bit)
Kaspersky Internet Security Suite 7.0.x
Spyware Terminater 2.x
CounterSpy 2.5.x


Need help? Check out my WAMP User Manual/Guide here!


Web Development for Newbie's Blog - Check out my new blog. It is for web developers, and especially tailored for the web development newbie. If you are not fluent in “geek speak”, then this incredible resource is just you. And even if you are a web development pro, this is a great resource to check out some of the latest web development tips, news, tutorials, codes and more.


Clarify Loans
Mortgage and Home Loan Advice


LaxGo Web Directory
Powerful human edited web directory of quality, spam-free sites organized via a comprehensive category structure.

Options: ReplyQuote
Re: HTTP 500 internal server error with php files
Posted by: jw_k (---.net-you.de)
Date: September 26, 2007 09:24PM

normally "500" indicates an error in httpd.conf or .htaccess

Options: ReplyQuote


Sorry, only registered users may post in this forum.