Hi everyone!
The following problem is baffling me. I have now blown Windows XP away completely and done a clean install into 80Gb hard disk (x86). I know that httpd is running and I've added the snippets to httpd.conf that output server status and server info to the web browser, so I can see that all the required PHP stuff is loaded. So something like
http://localhost/server-info works fine but something like
http://localhost/helloworld.htm produces the wrong output:
contents of helloworld.htm:
<?php>
print("hello world");
print(phpinfo());
<?>
This produces in web browser:
print("hello world"); print(phpinfo());
I have also tried changing localhost to 127.0.0.1 but same result.
Have I missed something? The following is my inventory of php-related software:
[root@localhost ~]# rpm -qa | grep php
php-5.2.6-2.fc8
phpMyAdmin-3.1.1-1.fc8
php-common-5.2.6-2.fc8
php-manual-en-20070617-1.fc8
php-mysql-5.2.6-2.fc8
php-cli-5.2.6-2.fc8
php-mbstring-5.2.6-2.fc8
php-mcrypt-5.2.6-2.fc8
php-Smarty-2.6.20-2.fc8
gphpedit-0.9.91-3.fc6
php-pdo-5.2.6-2.fc8
[root@localhost ~]#
here's what the same command lists for Apache:
[root@localhost ~]# rpm -qa | grep httpd
httpd-2.2.9-1.fc8
httpd-tools-2.2.9-1.fc8
httpd-manual-2.2.9-1.fc8
[root@localhost ~]#
I hope its something basic?!
Many thanks in anticipation