Hello! I am in need of assistance.
My operating system is Windows XP.
I installed Apache 2.2.11 from file apache_2.2.11-win32-x86-no_ssl.msi found on the Apache website.
I then installed PHP 5.2.9 from the file PHP 5.2.9-2 installer on the PHP website.
I installed the apache in the directory C:/folder/web server
I installed the php in the directory C:/folder/php
During the PHP installation it asked me what the directory for Apache configuration file was, and I pointed it to C:/folder/web server/conf
I also chose Apache 2.2x as the server during the installation of the php.
Everything should work fine....but any script I save as a .php file and load through the server returns as just the text typed. For example I made a file called info.php, the script in it was:
When I typed its location in the url, all the page said was:
<?php phpinfo() ?>
When I save the file as a .html extension the page turns blank.
What am I doing wrong?!?!
What can I do to correct my mistakes? Please post your views on the subject matter.
Also, I can't figure out where the root directory or root directory folder is. Please tell me where it is, and how to put files into the root directory of my web server. Please offer first priority to this question in your answers.
Thank you, thank you, thank you!!!