This workshop shows you how to install PHP 5, Apache 2, MySQL 4.1, SQLite, SQLite Manager and XSLT on Windows. It will also teach you how to use the new OOP features of PHP 5 as well as communicate to you a philosophy of web site design in order to build large, flexible web applications. At the end of this workshop you will be able to develop websites with PHP 5 on your computer.
This tutorial is hosted at A2Hosting. They constantly install the newest PHP5, have SQLite and XSLT, Python, Ruby on Rails, and excellent support. Use them if you need a site.
Books I am reading:
"SimpleXML lets you easily iterate through XML documents without the overhead of DOM or the oddness of XSLT."
"The book does not cover XSL Formatting objects, a big subject in its own right."
"In Java 5 they've added support for iterating over Collections so that you don't even have to ask for an iterator."
"Because you are reading this book, you have in all likelihood already discovered that regular expressions can be hard to write."
"JUnit is an open source testing framework that comes with Eclipse."
"This book is for anybody who wants a straightforward, jargon-free introduction to one of the most popular programming languages for building an interactive web site."
"Der Inhalt des Buches ist so abgefasst, dass kein Vorwissen im Bereich der Softwarequalitätssicherung vorausgesetzt wird."
"This book is aimed at the user with a basic understanding of a Linux or Unix-like operating system and preferably have some hands-on experience with Red Hat Linux or other Unix-like operating systems."
"Linux, when installed, can consume as little as 150MB of hard disk space and will run quite happily in as little as 32MB of RAM."
"Since XPath 1.0 was completed in November 1999, it has undoubtedly become one of the most important pieces of the XML jigsaw."
Apache is a web server that serves PHP5 files. It is free. In this step, we will download it from the Internet to a directory on your hard drive.
Ched: merci Paco: Thanks Detro: Thanks from Italy Developer Bill: thanks very much for this.
does it make any diffeence what order php, apache and mysql are installed in? Zoe: Thank you for this whole free workshop. It was very easy to follow and everything worked perfectly! Saif: very much helpful to work in php5 and apache Urangkayo: i really proud with you, b,cause before i can't found tutorial for install php 5 and mysq 4.1 . thank u so much Anonymous: Thanks Ed. Great site! Link: Thanks from Bosnia and Herzegovina Developer. Great site! Van: Thank you! you have sloved my big problem...I have been tried to install them for days..... TantrumPretzel: Happy, happy! Joy, joy! Sweetad: Can Any one tell me is it possible to use pws along with apache on win98.. ihave pws installed but the apache doesnt seem to work...and also php Patrick: omg i love you so much for this guide...i've been struggling with a guide book that uses LAMP setup...instead of this "WAMP"...oh man this is great. =D Tavi: this site, solved a primary problem in php; thank you very much; Eyecatcher00@yahoo.com: for using apace server , y should i shutdown my iis ?? YBS: a most excellent guide. a thousand thanks for this wonderful free service!!! Katie: Oh my god!!!!!!!!!!!!!!!!!!!!!!! You have no idea how much you just saved me. I have been trying for weeks to get this working, to no avail. And then I found this tutorial which was AWESOME. I've tried following many other instructions out there on the web, and none of them worked until this one. You're AMAZING. Zero_Gravity: Thanks very much for this
from Bulgaria
Legend: good tutorial Oscar: very nice tutorial ! David Hopkins: Thanks very much for the tutorial, very easy to follow. Ahmetr alp balkan: thank you edward! amazing tutorial. Peter: Thanks for the good tutorial (the best I could find on the web). Unfortunately, I couldn't PHP up and running, so I removed everything, and switched to FREE bundle - including scripts to install automagically: http://www.apachefriends.org/en/xampp.html. The XAMPP distribution installed without a problem. The boss: STOP: if you are using win98 or only want to program in localhost, then install xitami instead. Its alot easier and you have been warned. for an ide, webuilder is great. you can have everything up and running in 5 minutes. goodluck! Phani: i have installed "Apache2.2.2 Win32" and "php5.1.4-win32" followed all the setps directed by u, when i open index.php file in i.e it is giving error like "You are not authorized to view this page" could u please help me to rectify this error Phani: it is giving me http 403(forbidden error Rohan: This is a great tutorial, bookmark it now! Most of these steps also work for versions other than specified. Ronn: Do I have to download Apache? I wish to run PHP5 on a Windows Server 2003 Michelle: Apache 2.2 will NOT work with any current stable version of PHP (PHP5) so make sure you download Apache 2.0.x - or it will not work, i tried with Apache 2.2 but i had the 403 error. Niko;): Michelle: Really!? ;) I've just installed Apache 2.2 & PHP5 & MySQL5.0 and guess what!? It works smoothly. I've solved Error 403 thankx to Stardust's tip. So keep trying and goodluck :) Edwin: Niko can you share that tip with us? Kristin: http://archive.apache.org/dist/httpd/ has all versions of Apache! Patrick: So, is there really a solution for the 403 problem that Michelle mentioned? thx in advance Arturo: Niko: What was Stardust's tip that got your Apache 2.2 working with PHP 5.0? I am getting a 403 as well. Mariana: I can't solve de 403 error. Did anybody has a solution???? VIDRIX, BULGARIA: READ THIS TUTORIAL & ALL THE COMMENTS & YOU WON'T HAVE ANY PROBLEM:)) GREAT SITE ::)) G.: could i get everything online so everybody can view it ?
please tell me how ! xD Sudhir: sir how to connect php with oracle i have tried and failed Anis_niit: This is realy v-e-r-y helpful !!! Writejamal@gmail.com: How to connect PHP with MSSQL Jamal: Sir, I could'nt connect PHP 5.1.2 with MSSQL Mitch: Simply put, "Thank You!" I have spent hours and hours trying to configure Apache, PhP, and MySQL, nothing worked until I found this site. Everything else reads like stereo instructions not knowing if you are doing the right thing or not. This site is different. It ROCKS!!!! Once again, Thank you. Sanampreet: I m just newbabie in this work and accepted the challange of my Senior. Tried your valuable tips (the right sequence) and really it works. Very very Thanks to you. You make me something to work on.
I wish God Bless U with all your dreams true. Thanks Once Again
Nirali : Thanks very much Wiz_KeeD: Very nice tutorial indeed....helped me <b>ALWAYS!</b> Comezine: thank for this lesson post question or comment
Do This:
In your Windows Explorer, create the directory c:\download\apache
Tantra_sunil@yahoo.com: Is it necessary to download in that location only Ben: no only that location Jimmy: of course you can put it where ever you like... after all this is a computer and computers can do anything Rok: Yes, you can use whatever folder (no Jimmy, computer can't do everything) post question or comment
Patrice: Thank you for your help with this excelent site. Can you help me to configuring Apache, PHP and Mysql s飵rity ? Anonymous: I go to that server and i dont understand how you download this ? any help? Rahul: I have Microsoft Windows XP
Professional version 2002 service pack 2. Can I install apache_2.0.59-win32-x86-no_ssl
php-5.2.1-Win32 post question or comment
Click on the Win32 Binary (MSI Installer) link.
Edward: 2005-02-17: This file is NOT available anymore and the 2.0.53 Win32 Binary is "coming soon" according to the website. If anyone needs the 2.0.52, send me an email apache2052@tanguay.de Zoe: 2005-02-18:apache_2.0.53-win32-x86-no_ssl.msi is now available Steve: 2.0.54 Now available Mario: Is apache_2.0.54-win32-x86-no_ssl.msi installer uses the same step? Windy: what's the difference between Win32 Sourch and Win32 Binary Bassiej: With source, You get all the codes and you need to setup everything manually. With Binary the setup is already done for you and you only need to install it on your system. :) Adnan: i have downloaded the msi installer but it does not work with win 98 why is it so... Anonymous: apache 2.0.55 is now available Angie: Do u have to install service pack 1? I have service pack 2 already onmy machine. Jack: Heres the link to download from the site. (Its in Archives)
http://archive.apache.org/dist/httpd/binaries/win32/apache_2.0.52-win32-x86-no_ssl.msi
JJ Shiro: 2.2.2 now available Friedrich, begeiste@yahoo.com: Can you tell me why this page is not found. Is there another way to download this apache
?
The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.
--------------------------------------------------------------------------------
Please try the following:
If you typed the page address in the Address bar, make sure that it is spelled correctly.
Open the apache.mirrors.pair.com home page, and then look for links to the information you want.
Click the Back button to try another link.
Click Search to look for information on the Internet.
Wanyen: Thanks Jack Now I get Apache in my computer. Now if 2.2.2 is available and you could just copy this "http://archive.apache.org/dist/httpd/binaries/win32/" and scroll down find the newest version Nice guy: http://archive.apache.org/dist/httpd/binaries/win32/
get any version Nana: Thanks Jack.. 2.2.3 is now avalilable Naswakilies: pls. Nana what are the difference between 2.0.59 and 2.2.3 Tammao: thanks you !! Akash: how to check weather apache is working or not.. Raluca: does this instalation work for apache 2.2.2 as well?
Thematador: apache_2.2.4-win32-x86-no_ssl is now available post question or comment
Save the download to c:\downloads\apache.
Edward: If Firefox automatically saves your file onto your desktop, then in Firefox go to Tools | Options | Downloads and check "Ask me where to save every file", then OK. Edward: That should read "c:\download\apache" post question or comment
Think About This:
You can also use IIS to serve PHP5 files on Windows, but I use Apache since you can use it when you develop on a Linux machine as well.
Asif Danish: please any one help me how to configure my php5 with IIS.
because I do my lots of work with asp.net therefore IIS is essential for me. Oul: hello, your site super. Mmuni: What is RSS? Wwbo: I found it very interesting. Andymo: Another point: IIS only allows 10 concurrent connections, Apache over 500. Smart Person: IIS allows unlimited concurrent connections. It's right there in IIS manager. Anonymous: xvb Joe: Apache supports multiple name-based virtual hosts allowing you to test and develop multiple sites, whereas IIS only supports 1 Anonymous: IIS only allows 10 connections on Windows XP -- for licensing reasons. Windows Server 2003 allows unlimited. Likewise for IIS only supporting a single virtual host-- XP is not licensed as a server OS post question or comment