getting started with php
Hi again people,
I am trying to have a little mess about with php, maybe creating a website for my cricket club eventually. I am having trouble setting things up... I think i have apache installed and httpd seems to be running... php is also installed i think... i types the following into a file which i called phptest.php <?php print "Hello Web!"; ?> However when i navigate to this file using a web browser (mozilla) it simply displays the text file rather than showing Hello Web! on a blank page. What is going wrong??? I'm sure its just a stupid newbie error but help would be much appreciated. Thanx Muffamatician |
Have you installed php?
rpm -qa | grep php If so then take a look at httpd.conf and uncomment the LoadModule and AddType lines relating to php. |
All times are GMT -5. The time now is 04:02 PM. |