On Thursday 13 September 2001 10:02, Theo. Sean Schulze wrote: Hi,
Try calling the file - phptest.php
You need to give php files the right extension so that apache knows whats in them
I was under the impression that the <?php .... ?> tags were supposed to tell the browser and apache what to use to run the script.
No, it uses the file extension.
In any case, when I changed the filename to phptest.php and tried to open it with konqueror, konqueror just showed me the "Open with..." dialog box.
Sounds like Apache is not set-up for php. Check that it is installed, and then look in your httpd.conf file for something like <IfModule mod_php4.c> AddType application/xhttpd-php .php AddType application/xhttpd-php .php4 </IfModule> and make sure it is uncommented. This will tell apache what files with php extensions are. Cheers Phil -- Linux 2.4.4-4GB 11:18am up 1 day, 44 min, 1 user, load average: 0.87, 0.24, 0.14