PHP Code displayed in localhost
Posted by:
dhelsdon
(---.abhsia.telus.net)
Date: October 16, 2008 07:32AM
I can access localhost fine, WAMP runs.. But my problem is when I go to localhost\index.php
or any other page containing PHP code it is displayed when it shouldn't be.. I had this problem when I tried running php files before they were in the www root. But now it happens with files in the www root, I am using ZoneAlarm and I am pretty sure I added all possible permissions for it to work. I tried re-installing WAMP with my firewall off and still no luck. Also, I had it working fine and all my php files were showing up correctly but I had to re-format my computer because of a virus, which caused wamp to stop working.
DxDiag
------------------
System Information
------------------
Time of this report: 10/15/2008, 23:29:37
Machine name: DEVONSPC
Operating System: Windows XP Professional (5.1, Build 2600) Service Pack 2 (2600.xpsp_sp2_rtm.040803-2158)
Language: English (Regional Setting: English)
System Manufacturer: Acer
System Model: Aspire E360
BIOS: )Phoenix - Award WorkstationBIOS v6.00PG
Processor: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, MMX, 3DNow (2 CPUs), ~2.0GHz
Memory: 1022MB RAM
Page File: 613MB used, 1846MB available
Windows Dir: C:\WINDOWS
DirectX Version: DirectX 9.0c (4.09.0000.0904)
DX Setup Parameters: Not found
DxDiag Version: 5.03.2600.2180 32bit Unicode