All tricks in this blog are only for educational purpose. Learn these tricks only for your knowledge. Please donot try these to harm any one. We will not take any responsibility in any case. All softwares and tools on this site are here for private purposes only and If you want to use a software for business purpose, please purchase it. I do not host many of these tools. I Post links that I have found from numerous Search engines. I will not be responsible for any of harm you will do by using these tools.


Thursday, September 23, 2010

Install & Configure Apache with PHP, JSP and MySQL on Windows XP Pro

Download the Components Before you can begin, you must first download all the required components. The componentsused in this tutorial are listed below. You may want to download the latest versions. Theversions used in the tutorial are listed.Apache Web Server • http://httpd.apache.org/• http://httpd.apache.org/dist/httpd/binaries/win32/• apache_2.0.39-win32-x86-no_ssl.msiPHP• PHP Win32 Binaries• http://www.php.net/• http://www.php.net/downloads.php• php-4.2.1-Win32.zip• PHP > Apache connector• http://FReemIRC.com/miki/php4apache2.dll• or http://Rafigh.com/miki/php4apache2.dll• or http://IRan4You.com/miki/php4apache2.dll• php4apache2.dllJSP• Tomcat (http://jakarta.apache.org/site/binindex.html)• jakarta-tomcat-4.0.4.exe• mod_jk • http://www.acg-gmbh.de/mod_jk/• mod_jk.dll• Java • Download the latest Java SDK (We used Java 2 Standard Edition – J2SE)• http://java.sun.com/• http://java.sun.com/j2se/1.4/download.html (get the SDK, not JRE)• j2sdk-1_4_0_01-windows-i586.exeMySQL• MySQL Database• http://www.mysql.com/downloads/mysql.html• Download the latest stable release for Windows• mysql-3.23.51-win.zip• MyODBC• http://www.mysql.com/downloads/• Download the latest stable release of MyODBC for WinXP• myodbc-2.50.39-nt.zip• PHP MyAdmin• http://www.phpmyadmin.net/• Download the latest stable release of PHPMyAdmin (.php files)• phpMyAdmin-2.2.6-php.zip PHP 1. Extract php-4.2.1-Win32.zip into C:\php2. Replace c:\php\sapi\php4apache2.dll with the one you downloaded.3. Copy and rename c:\php\php.ini-dist to C:\WINDOWS\php.ini4. Open php.ini and change the following: include_path = “.;c:\php\includes”session.save_path = C:\Tempsession.cookie_path = \5. Add C:\php to your PATH System Environment Variable.6. Add the following lines to httpd.conf:LoadModule php4_module c:\php\sapi\php4apache2.dllAddType application/x-httpd-php .php .php3 .phtml7. Test: Restart Apache & open http://localhost in a web browser. Hopefully you see the samething as before: 8. Test: Create a new document called phpinfo.php and paste the following into it: phpinfo.php

Install & Configure Apache with PHP, JSP and MySQL on Windows XP


Post a Comment