I am running PHP on Apache (Linux) and I have the following issue.
When I run the following (as phpinfo.php) it works fine
<?PHP
phpinfo();
?>
When I try to include it in an html page, it shows the PHP code and does not render
(test.html)
<?PHP
include("phpinfo.php");
?>
Any ideas?
Thanks!
When I run the following (as phpinfo.php) it works fine
<?PHP
phpinfo();
?>
When I try to include it in an html page, it shows the PHP code and does not render
(test.html)
<?PHP
include("phpinfo.php");
?>
Any ideas?
Thanks!