Just downloaded apache, php5.3 and installed on my computer, and followed the step by step guide from this site: http://www.thesitewizard.com/apache/install-apache-on-vista.shtml and http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml to config the apache and php, and now the apache server runs normally on my computer. But after i make a simple page like with <?php echo phpinfo(); ?>, and when copied the file to htdocs folder and trying to view it in my browser by typing http://localhost/test.php, it showed the following. What's wrong with my apache and php settings? BTW, my computer is installed Windows Vista Home Edition. Also I deleted the conf and htdocs from the original installed directory, and made another "apache" directory to my desktop, and copied the 2 directory under "apache".
No clue, but instead of manually installing apache/php/mysql you should just use XAMPP or WAMP to minimize user error.
I just want to install them one by one, since i need to know how to install lamp on my linux server in future.
There is a big difference on installing things in Windows and installing things in Linux. That being said, from your issue above it looks as if you may have missed a step in the tutorial. Did you set it up as a module, or cgi binary?
I followed the tutorial step by step, and i didn't miss any steps, since I configured the apache and php.ini 2 times. I set it up as a module.