/    Sign up×
Community /Pin to ProfileBookmark

XAMPP not processing PHP code

I have installed XAMPP after disabling my AVG and disconnecting my pc from the internet. I tried to run XAMPP but got error in the logs that the port was in use (by Skype) changed the post in the XAMPP port settings in http.conf to Listen 8080

Ran XAMPP in admin most on the pc and all seems to startup ok.

I created a folder in c:xampphtdocs called myfiles and created a file called index.php file with the following in it…

<?php echo(“hello”); ?>

I then visit [url]http://localhost/myfiles/index.php[/url] in firefox and get a blank page.

I try to view the source code of this page and that too is blank.

So I create another file in myfiles folder called index.html and view that at [url]http://localhost/myfiles/index.html[/url]

But still get a blank page and not source code.

XAMPP control panel shows that both Apache and MySQL are running.

What could I be doing wrong that is causing the pages to show blank ?

Cheers

Jason

Windows 7 (64Bit)
XAMPP CP v3.2.1

I used the file called xampp-win32-1.8.3-5-VC11-installer.exe to install XAMPP

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@deathshadowNov 02.2014 — You set it to 8080, but http defaults to port 80. You need to do a port override on the URI.

http://localhost:8080/myfiles/index.php

That or set your httpd.conf back to port 80. Under advanced->connection in Skype you can tell it not to use port 80 I think...
Copy linkTweet thisAlerts:
@jasonc310771authorNov 02.2014 — Billiant, I used the :8080 method, thanks so much.
×

Success!

Help @jasonc310771 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.27,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...