Apache
  Home arrow Apache arrow Setting Up Apache 2.0.45 to Parse PHP Page...
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
APACHE

Setting Up Apache 2.0.45 to Parse PHP Pages
By: William Young
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 38
    2003-04-28

    Table of Contents:
  • Setting Up Apache 2.0.45 to Parse PHP Pages
  • The Article
  • Conclusion

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    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.

    More Apache Articles
    More By William Young


     

    APACHE ARTICLES

    - 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







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 1 Hosted by Hostway
    Stay green...Green IT