I have been writing php applications using php for some time in wamp. Now I am setting up PHP &lifier apache individually on my small work PC. I have installed PHP 5, and also the latest apache. Time passes to localhost and find out it really works! now I give a file known as test.php which shows:

<?php 
    phpinfo();
?>

however in the browser it simply shows plain text. Can there be somewhere I've clearly tell it to make use of PHP5?

Thanks

You will need to add this for your server configuration:

AddType application/x-httpd-php .php

that's presuming you've installed php correctly, which might not be because it does not work where it would soon after setting up.

It's feasible for you'll also need to add the php so/dll for your apache config utilizing a LoadModule directive (usually in httpd.conf)

You have to configure Apache (the webserver) to process PHP scripts as PHP. Check Apache's config, you have to load the module (the road may vary in your system):

LoadModule php5_module "c:/php/php5apache.dll"

so you have to tell Apache things to process with PHP:

AddType application/x-httpd-php .php

Begin to see the documentation for additional particulars.