Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

preinstalled php, apache - not working together

Status
Not open for further replies.

raniweb

Technical User
Apr 26, 2004
66
US
Hello,
I have an issue with being able to see my test.php page. When I point my browser to it, it just shows a blank page. I'm guessing php is not working with apache somehow and the somehow is what I'm trying to figure out. The php and apache were installed when I installed linux and I just want to know how to get the two working together. If anyone can help I would appreciate it. Thank you!
 
Read your log files for messages. Do a view source on the page that's served to make sure it really is empty (a truly empty page usually generates an error in your browser).
 
I checked the error log and there was not anything pertaining to this in it. When I did a view source on the page it showed the code which is what is below.

<HTML>
<BODY>
<? phpinfo(); ?>
</BODY>
</HTML>

Is it possible that I just typed in the code wrong. Thank you for all you help!

 
The php processor has not been invoked
<?php is necessary
 
That did it! And to think I looked all day to find this answer. Thank you very very much.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top