I have installed Redhat 7.2, Apache 1.3.26, php 4.2.2. I can get the web server working, but it does not appear to interpret embedded php code.
I have run /usr/bin/php -i >test.htm and the file generated displays in the browser. However even simple files with embedded php do not work. For example: <html> <body> Test script <?php echo "this is a test"; ?> </body> </html> only displays the html portion. In addition if I call the script test.php the browser fails to recognise it as a valid script. Can anyone suggest where I should look for the problem. I have a full site which I developed under win98 and now need to transfer it to the linux machine. None of the scripts which include embedded php or which have type .php work on the linux machine so obviously I have not got apache server correctly configures. Regards Peter Goggin -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php