Blank pages displayed

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
sabatier
Forum Newbie
Posts: 6
Joined: Thu Aug 23, 2007 5:40 am

Blank pages displayed

Post by sabatier »

Hi this is probably a very simple issue. I have installed PHP with tomcat and apache.
When I use

Code: Select all

echo phpinfo();
it works fine. However nothing else works. For example if I use

Code: Select all

echo "Hello World";
I get a blank screen. Any ideas what's wrong?

Regards,

Ruth
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Post by califdon »

Would you please show us the complete contents of the file in which you placed the echo "Hello World"; statement.
sabatier
Forum Newbie
Posts: 6
Joined: Thu Aug 23, 2007 5:40 am

php blank pages

Post by sabatier »

Hi thanks for replying, I've actually resolved the problem! I just followed the instructions at
http://blog.taragana.com/index.php/arch ... -4x-or-5x/
and it's working great!

Ruth
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

This thread has nothing to do with phpdeveloper.org. Moved to PHP - Code.
User avatar
Zoxive
Forum Regular
Posts: 974
Joined: Fri Apr 01, 2005 4:37 pm
Location: Bay City, Michigan

Post by Zoxive »

BTW phpinfo(); doesn't need to be echoed, the function does it, itself.
Post Reply