Just installed XAMPP 1.7.4 V6 on my Windows XP computer (SP3). I started up the server, and when I attempted to run a PHP script - instead of running - it just displayed the code. I then modified c:\xampp\apache\conf\httd.conf and added:
- Code: Select all
LoadModule php5_module "C:/xampp/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/xampp/php"
When I tried to restart apache it would not restart. My wbemess.log displayed:
Thu Jun 30 11:56:46 2011.7575828) : Failed to log an event: 5DE
(Thu Jun 30 11:56:46 2011.7575828) : NT Event Log Consumer: could not retrieve sid, 0x80041002
(Thu Jun 30 11:56:46 2011.7575828) : Failed to log an event: 5DE
(Thu Jun 30 11:56:46 2011.7575828) : NT Event Log Consumer: could not retrieve sid, 0x80041002
(Thu Jun 30 11:56:46 2011.7575828) : Failed to log an event: 5DE
(Thu Jun 30 11:56:46 2011.7575828) : Dropping event destined for event consumer NTEventLogEventConsumer="SCM Event Log Consumer" in namespace //./root/subscription
(Thu Jun 30 11:56:46 2011.7575828) : Dropping event destined for event consumer NTEventLogEventConsumer="SCM Event Log Consumer" in namespace //./root/subscription
(Thu Jun 30 11:56:46 2011.7575828) : Dropping event destined for event consumer NTEventLogEventConsumer="SCM Event Log Consumer" in namespace //./root/subscription
(Thu Jun 30 11:56:46 2011.7575828) : Failed to deliver an event to event consumer NTEventLogEventConsumer="SCM Event Log Consumer" with error code 0x80041001. Dropping event.
By trial and error, I found that the line that is causing the problem is:
- Code: Select all
PHPIniDir "C:/xampp/php"
However, without it I am still seeing code.
Any and all help would be appreciated. I have seen a number of solutions in this and other forums (including taking out some of the mysql dlls in the php.ini file) but I have had no luck.
Thank you for your assistance.
Harpist