LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   PHP Not working.. (https://www.linuxquestions.org/questions/linux-newbie-8/php-not-working-64104/)

Dirt 06-06-2003 08:14 PM

PHP Not working..
 
Im new to Linux and I set up a web server. I can get it to pull up html files. However when I made a small generic php file...

<?
echo "Hello World";
?>

Save is as "test.php" and try to access it I just get a blank page. Any ideas? Does PHP have to be enabled somewhere?

Dirt 06-06-2003 08:22 PM

Never mind I just figured it out. I dont have short tags on so it wants <?php instead of <?


All times are GMT -5. The time now is 12:32 AM.