I am using OpenSuse Leap and PHP7 If I type "localhost/index.php" in the Firefox address bar , the file "index.php" don't run. But, it runs if I use an "index.html" file, but not runs sections with php
The code below if locate in the localhost folder, shows only
text html Code:
<html> Bellow the php code <-- this html text will be visible --> <?php echo "xxxxxxxxxxxxxxxx"; // this php text is not visible phpinfo(); // This function is ignored, nothing returns ?> <br>Above the php code <-- this html text also will be visible --> </html> Could you please help me solve this problem? Thanks in advance |