I made a small php file and uploaded it to my server to ensure I've set everything up correctly:
Code:
<HTML>
<HEAD>
<TITLE>PHP Testing</TITLE>
</HEAD>
<BODY>
<?php
echo "if this works, we <i>really</i> did it!";
?>
</BODY>
</HTML>
and confirmed the file was in the correct directory. When I call the file in a browser, I see the code, not the echo'd text. The code looks correct to me, but I am new to PHP. Is it the code or the configuration?
Posts: 41,665
Thanks: 1,896
Thanked 2,591 Times in 2,443 Posts
I guess you also followed chapter 17.1 (Disable PHP Globally) of that tutorial? If you're not using ISPConfig, undo that chapter, and PHP will work again.
Recent comments
1 day 3 hours ago
1 day 12 hours ago
1 day 15 hours ago
1 day 16 hours ago
1 day 18 hours ago
1 day 19 hours ago
1 day 21 hours ago
1 day 22 hours ago
2 days 14 hours ago
2 days 15 hours ago