Question

I am new to XAMPP as I have used WAMP previously and I am a bit stuck.

I have installed XAMPP and I have both Apache and SQL running (confirmed by green boxes next to Apache and MySQL when I start XAMPP). In Apache httpd.conf I have had to change the port number from 80 to 8080 because port 80 is used by IIS. Again I have confirmed all this is working by going to localhost:8080. In here I see the following welcome screen. enter image description here

When I click on the English version I see the following screen. enter image description here

I WAMP I am used to seeing the following screen. enter image description here

Am I supposed to see the same root navigation in XAMPP as I am seeing in WAMP?

The reason I ask is when I try to run the following php test, I dont see the fist echo test.

<html>
<head>
<title>PHP Test</title>
<link rel="stylesheet" type="text/css" href="style.css" />
</head>
<body>
<p>Hello World!</p>                       // This is working 
<?php echo "Hello world!"; ?>             // This is NOT working
<?php echo '<p>Hello World now </p>'; ?>  // This is working 
</body>
</html>

Can anyone please help?

Was it helpful?

Solution

You can use your projects by

c:/xampp/htdocs/
->projectone/index.php
->projecttwo/home.php

You can access it by

localhost/projectone
localhost/projecttwo/home.php

Here is the Tutorialspoint Tutorial to use xampp easily.

And you don't need any permissions to run your project folder.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top