![]() |
|
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) | ||||||
| Technical GURU Join Date: Feb 2006 Location: India
Posts: 804
Blog Entries: 2 Thanks: 4
Thanked 35 Times in 24 Posts
Rep Power: 17 | HI, Install Apache Download Apache from Apache website: http://httpd.apache.org/download.cgi 1) Download this one 2) Search for Win32 Binary (MSI Installer) Run the exe file... 3) Follow the instructions... Wait for it to finish... Once it is done... 4) Test it by typing http://localhost/ in your web browser 5) Default www folder C:\Program Files\Apache Group\Apache2\htdocs Replace C drive with your default drive... 6) You can place the files you want to show it on the server.. Installing PHP 1) Download PHP from PHP website: http://www.php.net/downloads.php 2) Download PHP 4.x.xx installer 3) Once you have downloaded it... While installing select Advacned Mode and there you will see option something like Display Notice, Warning etc... 4) Select Display All Errors (No need to display warnings and notice) 5) In the end from server list select Apache It will show some alert box.. click on ok.... 6) Now you will need to edit httpd.conf file to get php working For CGI based php
Add above lines into the httpd.conf and then restart the apache If you have installed php 5 then you will need to point replace last line with this Action application/x-httpd-php "/php/php-cgi.exe" You can also install php as apache module..for that you need to add following code in httpd.conf instead of above mentioned one...
Now to check whether PHP is installed or not,make one php file and see... you can use this code
Save it as index.php and save it in your www directory... It should show file with php information... All done [img]smileys/smiley1.gif[/img] I hope you guys found it easy....
__________________ BINNY | ||||||
| | |
| | #2 (permalink) |
| Junior Member Join Date: Feb 2006 Location: India
Posts: 29
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 4 | Hi to all Sureshkumar.net Forum Members, I came again to c u all..coz of exams preparation not able to log here..ok hereaftr il b active here..so binny gave really easy way of installing php and apache.. Also i would like to share abt a pack called XAMPP.. XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start.. XAMPP versions:
Also it contains latest version of these s/w..so it will be a gud pack to use it.. http://www.apachefriends.org/en/index.html Any comments..Buzzz me upp..Tc Regards, Rsk*.*[img]smileys/smiley2.gif[/img]
__________________ Rsk*.* |
| | |
![]() |
| Tags |
| on , apache , installing , php , windows |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
| More Interview Questions Here... |