Hi everyone,
A while ago I've installed WAMP5 (v1.7.0) on a WinXP computer. When I go to either [
localhost] or [
127.0.0.1], I got this error (aswell in IE7.x and MF):
Parse error: syntax error, unexpected T_STRING in D:\Programma's\WAMP5\www\index.php on line 86
Whenever I place another .html file in the www directory, I can view it correctly. But whenever I place a .php file in it, the php will not show up. The same goes for embedded php in a .html file: the html does show up, the php does not. This is an example code of some embedded code:
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php
echo "Hello world!";
?>
</body>
</html>
When I switch to php4 (add-on), I got this error (read carefully, nearly the same as the previous one):
Parse error: parse error, unexpected T_STRING in D:\Programma's\WAMP5\www\index.php on line 86
I also have copied some correctly working .php files from my server (CentOS, LAMP server with same php and apache versions) to my WinXP comp, but it had no effect. I guess this problem is php related, maybe the smart guys in here can help me with this...
Thank you in advance