LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2003, 09:14 PM   #1
Dirt
Member
 
Registered: Feb 2002
Location: St. Louis
Distribution: Red Hat 8.0
Posts: 30

Rep: Reputation: 15
Unhappy 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?
 
Old 06-06-2003, 09:22 PM   #2
Dirt
Member
 
Registered: Feb 2002
Location: St. Louis
Distribution: Red Hat 8.0
Posts: 30

Original Poster
Rep: Reputation: 15
Never mind I just figured it out. I dont have short tags on so it wants <?php instead of <?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP not working eikeland Linux - Software 4 07-13-2005 08:00 PM
Help getting php working TheDirtyPenguin Linux - Software 12 03-19-2004 06:19 AM
PHP not working SoftwareParadis Linux - Software 1 06-08-2003 04:02 PM
PHP not working Tekime Slackware 6 08-22-2002 04:01 PM
PHP Not working? hubergeek Linux - Software 1 03-26-2002 11:29 AM


All times are GMT -5. The time now is 02:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration