user1281095
user1281095

Reputation: 11

wampp does not recognize php script on windows 8

I have installed wammp on windows 8. a simple test echo 'test'; doesn't show 'test'. When I look at the "show source" of the browser, it shows echo 'test'; which indicates that apache doesn't process the php code.

What is happening here and has anyone solved this issue?

Upvotes: 0

Views: 96

Answers (1)

rekire
rekire

Reputation: 47945

If I guess right and you wrote really just echo 'test'; into your PHP file than you need to add the PHP tags:

<?php
echo 'test';
?>

Upvotes: 1

Related Questions