Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-06-2003, 09:14 PM   #1
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
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 <?


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 > Forums > Linux Forums > Linux - Newbie

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

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