5 Easy steps to create webserver in home computer with php,mysql,apache
This tutorial will address the basic setup of a server on your own computer running with windows platform. This means the removal of hassles of dealing with the company that is running a remote web server. It will be easy to modify. You can add any thing you want to it, be it CGI/Perl, Zope, Roxen, etc, all by your self. You will have unlimited disk space, well at least as big as your hard disk drive . Now that you know the advantages, it is time that I tell you what you will need.
You will need XAMPP 1.6.8 which is available for free & combines all of the following
* Apache HTTPD 2.2.9 + Openssl 0.9.8i
* MySQL 5.0.67
* PHP 5.2.6
* PHP 4.4.9
* phpMyAdmin 184.108.40.206
* FileZilla FTP Server 0.9.27
* Mercury Mail Transport System 4.52
STEP 1 :
1.I recommend to download Self-extracting 7-ZIP archive version because of its low size compared to other two versions.
Just be patient.
Remember that XAMPP folder will be created automatically which meansyou don’t need to create one.
To start XAMPP without setup!«
If you extract XAMPP in a top level folder like c:\xampp or d:\xampp etc., you can start XAMPP directly. That means you do not need to execute the “setup_xampp.bat” at all. Apache, MySQL and Mercury Mail server will start up correctly! FileZilla FTP server will not start because it requires absolute paths. Please note: Do not use a double-xampp-folder like c:\xampp\xampp! You need a single-xampp folder like d:\xampp(\apache and so on). Otherwise you must run the “setup-xampp.bat” to set up the path configurations.
XAMPP control Panel
To have the Apache server and the MySQL database started upon the system startup, install them as services by checking the Svc checkboxes next to them. Then ckick OK in the XAMPP Control dialog box that opens.
The Apache and MySQL servers are installed as services.
To start the Apache HTTP server, click Start.
To start the MySQL database server, click Start.
Here are some more server scripts, you might find useful:
* Apache & MySQL start: .\xampp\xampp_start.exe
* Apache & MySQL stop: .\xampp\xampp_stop.exe
* Apache start: .\xampp\apache_start.bat
* Apache stop: .\xampp\apache_stop.bat
* MySQL start: .\xampp\MySQL_start.bat
* MySQL stop: .\xampp\MySQL_stop.bat
* Mercury Mailserver start: .\xampp\mercury_start.bat
* FileZilla Server setup: .\xampp\filezilla_setup.bat
* FileZilla Server start: .\xampp\filezilla_start.bat
* FileZilla Server stop: .\xampp\filezilla_stop.bat
Checking XAMPP Installation
Open the URL http://localhost or http://127.0.0.1 in your browser .Click on the preferred language and you’ll get this welcome screen for English.
Shut down the XAMPP server and exit all panels. If you installed any services, shut them down too.
Simply delete the entire folder where XAMPP is installed. There are no registry entries and no environment variables to clean up… just simply good, clean code! Don’t forget to uninstall any services you might have installed.
FOR BASIC QUESTIONS