Home arrow Apache arrow Setting Up Apache 2.0.45 to Parse PHP Pages

Setting Up Apache 2.0.45 to Parse PHP Pages

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.

Author Info:
By: William Young
Rating: 4 stars4 stars4 stars4 stars4 stars / 47
April 28, 2003
  1. · Setting Up Apache 2.0.45 to Parse PHP Pages
  2. · The Article
  3. · Conclusion

print this article

Setting Up Apache 2.0.45 to Parse PHP Pages
(Page 1 of 3 )

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 Ill be the one to help everyone get a better understanding about apache 2.0, so Im 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 Microsofts (IIS) and has a lot useful features. In this article, Im going to show you how to configure your httpd.conf file so we can run .php and .phps files on our server.

Well 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.
blog comments powered by Disqus

- Programmatically Manipulating Microsoft Exce...
- Installing PHP under Windows
- Compressing Web Content with mod_gzip and mo...
- Compressing Web Output Using mod_deflate and...
- Setting Up Apache 2.0.45 to Parse PHP Pages
- Custom Error 404 Documents with PHP
- Using Apache and PHP on Mac OS X
- ASP: Active Sessions, Active Logins and Tota...
- Working With Oracle on Windows: Part 1
- The Quick-n-Dirty Guide to Setting Up Apache...
- Installing Apache With SSL: The Complete Gui...
- 7 Powerful .htaccess Customization Tips
- Trap And Get Notified: A Practical Solution ...
- One Way To Use Server Side Includes
- Using ForceType For Nicer Page URLs

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials