Place your AD here

Articles

Active Articles
Home > School & College Studies > Kids > Easy to install configure Apache, PHP, MySQL

Many people in this world have problem when Install Apache, PHP, MySQL becuase use long time to configure and some time can make dizzy.

now it is so easy to install configure Apache, PHP, MySQL , with AppServ

Installation process

Preparing package before install.
       Download AppServ program from http://www.appservnetwork.com   you can choose version 2.4.x or 2.5.x.
          2.4.x is a Superb stable version work for all user, by the way this version use PHP 4.x because work fine with your old PHP code.
          2.5.x is the Rock function. This version provide newest and experimental of Apache, PHP, MySQL.


AppServ Installation Step by Step.

       1. Double Click appserv-win32-x.x.x.exe to install AppServ on your computer.

s1

                                             Figure 1 AppServ Welcome Screen

       2. License Agreement : AppServ distribution under GNU/GPL License. You must read license agreement before install.
           If you agree for this license click Next to go to next step. If you not agree click Cancel to cancel install. 

 

s2

                                           Figure 2 GNU/GPL License Agreement screen.

       3. Choose Install Location: AppServ default location is C:AppServ. If you need to change destination
           click Browse botton to change your destination for AppServ program and then click Next to go to next step.

s3

                                            Figure 3 Choose Install location screen.

       4. Select Components : AppServ default package components it's checked all package.
           If you need to choose some package to install. You can click at check box.
                 - Apache HTTP Server is a Web Server.
                 - MySQL Database is a Database Server.
                 - PHP Hypertext Preprocessor is a PHP Programming processor.
                 - phpMyAdmin is a MySQL Database control via WWW.
           If you complete choosing it click Next to go next step.

 

s4

                                          Figure 4 Choose Package Components screen.

       5. Apache Configuration : This screen for specify Apache configure.
                 Server Name   You must specify Server Name e.g. www.appservnetwork.com.
                 Admin Email    You must specify Admin Email e.g. root@appservnetwork.com 
                 HTTP Port       You must specify HTTP port for Apache Web Server.

s5

                                        Figure 5 Apache Web Server configure screen.

       6. MySQL Configuration : 
                 Root Password        You must enger root password for MySQL Database.
                                              Default user for this password is  root .
                 Character Sets        Specify for data storage language and collations. 
                 Old Password          If you have problem when you coding PHP code with Old MySQL API. 
                                              And found error Client does not support authentication protocol requested by server; 
                                                                    consider upgrading MySQL client
                                              You must check this option to avoid error.
                                             
                 Enable InnoDB        If you use InnoDB must check this option.

s6

                                        Figure 6 MySQL Database configure screen.

       7. Complete AppServ setup : Setup ask for start Apache and MySQL immediately.
           Click Finish to end this setup and AppServ prompt to use.

s7

                                             Figure 7 Complete AppServ Setup screen.

 

 

 

Directory structure of Apache, PHP, MySQL after install AppServ

dir

Directory structure of Apache Web Server
           • apache/bin          Main Apache program.
           • apache/conf         Apache config file.
           • apache/error        Apache Error Template (Found on Apache2.x only).
           • apache/icons        Apache icons.
           • apache/logs         Apache Log file.
           • apache/modules   Apache Modules.

Directory structure of MySQL Database
           • mysql/bin             Main MySQL database execution file.
           • mysql/data           MySQL database store.
           • mysql/share          MySQL Error Message.

Directory structure of PHP
           • php                      PHP Command line Execution and DLL Library.
           • php/ext                PECL PHP Extension for PHP (Found on PHP5 only).
           • php/extension       PECL PHP Extension for PHP (Found onPHP 4 only).
           • php/PEAR              PEAR Framework Components for PHP
.

Directory structure of www file store.
           
• www                      Directory Root for Web page file.
           • www/cgi-bin            CGI file directory.
           • www/phpMyAdmin   phpMyAdmin program directory.
           • www/appserv          AppServ file, you can delete it after install.
           • www/index.php       AppServ index.php file you can delete it after install.


Easy to install configure Apache, PHP, MySQL is viewed 4362 times