On Thursday 13 September 2001 13:02, you wrote:
rename your file phptest.php or .php3 or .php4 depending on how apache is setup.
Apache looks at the file extension to discover what sort of file it is and what processing needs to be applied to a file.
ie unless you tell apache that a .php file goes to the php processor it will just try and display it.
You need to check /etc/httpd/httpd.conf to see what files are associated with what by apache.
After I renamed the file to phptest.php4, this is the output I got in a browser window titled "PHP Test Example": ; echo date("H:i, jS F"); echo ; echo Hi, I am a PHP script! ; echo -----------------------------<horizontal rule>--------------------------- ; ?> This is what I have in /etc/httpd/httpd.conf: <IfDefine PHP> LoadModule php3_module /usr/lib/apache/libphp3.so </IfDefine> <IfDefine PHP4> LoadModule php4_module /usr/lib/apache/libphp4.so </IfDefine> I think I will try changing the module loaded with the PHP definition to php4 vice php3, but I'm not optimistic that that will help. Thanks, Sean -- Theo. Sean Schulze theo.schulze@myokay.net "[T]he key to maintaining leadership in the economy and the technology that are about to emerge is likely to be the social position of knowledge professionals and social acceptance of their values." -- Peter Drucker