<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><br><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">>Check the config file - (apachectl configtest)<br><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 12pt;"><div style="font-family: arial,helvetica,sans-serif; font-size: 13px;"><br>>Restart Apache? (service httpd restart)<br><br>>Check Apache's error log (/var/log/httpd/error_log)<br><br>>You'll probably see stuff in /etc/httpd/conf.d for PHP when it's <br>>installed. It's all modularised.. so the php package doesn't need to <br>>mess with httpd.conf and so on.<br><br>>David.<br><br>>Hi David<br><br>.I have just replied to the other
David!!<br><br>>I have stopped and restarted httpd, I will check apachectl and the log files<br><br>>Mo<br></div></div>
</div><br>Hi <br><br>looked up the error_log and found this line so I presume that PHP is loaded correctly?<br><br>[Wed Jan 06 11:53:45 2010] [notice] Apache/2.2.14 (Unix) DAV/2 PHP/5.3.1 configured -- resuming normal operations<br><br>If this is the case why is not running this simple code<br><br><?php<br><br> echo ("Hello there");<br>?><br><br>I put the file test.php in /var/www/html<br><br>I must be doing something wrong somewhere.<br><br><br>Mo<br><br>
</div></div>
<!-- cg21.c41.mail.ird.yahoo.com compressed/chunked Thu Dec 24 09:17:21 PST 2009 -->
</div><br>
</body></html>