Setting Up Apache 2.0.45 to Parse PHP Pages (Page 1 of 3 ) To learn how to configure your Apache 2 web server so that .php and .phps files can be used, read this article by William. He'll get you sorted out so you can spend more time developing your PHP apps. If you've been diffident towards using apache 2 or if you've been using apache2 but couldn't get it and php to work, due to the fact that it wouldn't parse your .php pages, well guess what!!! You can finally put that fear behind you.
I've figured out how to make the two work together and it was a lot easier than what other people have suggested. I'm surprised that no one else wrote a tutorial about this, so I’ll be the one to help everyone get a better understanding about apache 2.0, so I’m going to break down apache 2 for the curious individual, who wants to have the latest server from the apache team which is 2.0.45.
To anyone who has had doubts about upgrading their server to apache 2.0 will now possibly consider the upgrade since apache 2 is more secure than Microsoft’s (IIS) and has a lot useful features. In this article, I’m going to show you how to configure your httpd.conf file so we can run .php and .phps files on our server.
We’ll configure apache 2.0 so when we request .php pages from our server, so it won't show us our source code nor will it be displaying that annoying file download screen, prompting us to download the file rather than display it.
Our goals are as follows:
- Downloading & setting up apache 2.0.45
- Configuring our httpd.conf file
- To make apache2 run .php & .phps files
This article is aimed at Windows 2000/Me/XP users. 95/98 users will need to download the msi installer from Microsoft if you don't have it already. NT 4.0 users will need to download this as well if you don't have it already on your machine. Also might I add that this tutorial is aimed at people installing apache2 for the first time, if you've installed apache before then you can go ahead and install it to you machine, but you will need to pay attention to a few steps in this article if you plan on using this server with php 4.3.1. Anyways let's get proceed to the first step.Next: The Article >>
More Apache Articles More By William Young |