XAMPP 1.7.4 - PHP, HTML5 and Apache won't comply
Posted: 15. April 2011 13:20
PHP, HTML5 and Apache - Not working together
I've tried the following:
Take a look at my index.php test file below:
Basically, only the paragraph (<p>) element is displayed, although viewing source gives you the HTML5-elements as well. They aren't getting rendered.
I've remapped the ROOT to be X:\Web and Xampp is installed at X:\xampp. <?php echo 'Hello'; ?> works, anywhere, e.g. X:\Web\index.php.
So this is CLEARLY an issue with HTML5, Apache and PHP not working with Xampp. At all.
What do I need to do?
I've tried the following:
- Reinstallation
- Upgrade from 1.7.3 > 1.7.4
- Clean install of 1.7.4 (CCleaner and complete uninstallation pre to clean install)
Take a look at my index.php test file below:
- Code: Select all
<!DOCTYPE html>
<html>
<head>
<title></title>
</head>
<body>
<header>
<h1><a href="index.php">Logo</a></h1>
<nav>
<ul>
<li class="active"><a href="#">Link</a></li>
<li><a href="#">Link</a></li>
</ul>
</nav><!-- end: nav -->
</header><!-- end: #banner -->
<p>Test HTML4.x-element</p>
</body>
</html>
Basically, only the paragraph (<p>) element is displayed, although viewing source gives you the HTML5-elements as well. They aren't getting rendered.
I've remapped the ROOT to be X:\Web and Xampp is installed at X:\xampp. <?php echo 'Hello'; ?> works, anywhere, e.g. X:\Web\index.php.
So this is CLEARLY an issue with HTML5, Apache and PHP not working with Xampp. At all.
What do I need to do?