I have installed PHP5 and the CGI and have updated the list interpreter and restarted uhttpd.
a phpinfo() works and produces a web page full of info, but when I open this test html:
<!DOCTYPE html>
<html>
<body>
Body text
<p>This is going to be ignored by PHP and displayed by the browser.</p>
<?php echo '<p>While this is going to be parsed.</p>'; ?>
<p>This will also be ignored by PHP and displayed by the browser.</p>
<?php
echo '<p>Hello World</p>';
?>
</body>
</html>
it seems the PHP is not correctly handled. I get these '; ?> which seem to be from the PHP code. Any ideas?
Body text
This is going to be ignored by PHP and displayed by the browser.
While this is going to be parsed.
'; ?>
This will also be ignored by PHP and displayed by the browser.
Hello World
'; ?>