1. XAMPP
XAMPP supports windows, Linux, Mac OS X, and Solaris operating systems. XAMPP is completely free of charge and complies with the GNU General Public License.
2. xampp1.7.1 Environment Description
Apache httpd 2.2.11 + OpenSSL 0.9.8i
MySQL 5.1.33
PHP 5.2.9
PhpMyAdmin 3.1.3.1
XAMPP, CLI, bundle 1.3
Filezilla FTP server 0.9.31
Mercury Mail Transport System 4.62
3. Installation Steps
Step 1: Download the XAMPP Windows installation package. I downloaded the xampp-win32-1.7.1 installation package.
Step 2: Click the installation program and follow the prompts to proceed step by step.
4. Security Configuration
Major security risks: root users of MySQL and phpMyAdmin do not have a password, causing directory access problems.
Enter http: // localhost/XAMPP/index. php In the browser to enter the XAMPP management interface.
As prompted, you can test and verify OpenSSL, view the PHP environment details, and test samples.
Click the Security menu on the left to view the current installation status of XAMPP on windows and the default TCP ports of various service programs.
MySQL and phpMyAdmin Security Settings
Method 1: Click or enter http: // localhost/XAMPP/xamppsecurity. PHP, select the phpMyAdmin authentication method: HTTP and cookie, and set the root user password of the MySQL database. If you are afraid of forgetting, you can also select to output the plaintext password to the corresponding text file at the same time.
Method 2: Open the config. Inc. php file in the XAMPP/phpMyAdmin folder. Find $ cfg ['servers'] [$ I] ['auth _ type'] = 'config' and change it to HTTP. For how to set the password for the root user of MySQL, refer to method 1 or directly enter
\ XAMPP \ mysql \ bin \ mysqladmin-u Root Password yourpass.
Directory Protection Security Settings
By default, XAMPP only supports XAMPP directory protection under htdocs. You only need to click or enter http: // localhost/XAMPP/xamppsecurity. PHP: Enter the user name and password under the XAMPP directory protection. It also has the option to output the plaintext password to the relevant text file.
Note: The Directory protection policy used by XAMPP is. the htaccess file works with the htpasswd command of Apache. Of course, XAMPP only provides directory protection for the XAMPP directory under htdocs. How can I set the PHP Directory protection function freely, so that illegal access is prohibited? You just need to check the htaccess function in the securefunctions. php file in the XAMPP \ SECURITY \ htdocs directory.
XAMPP's PHP environment configuration file:
Apache: \ XAMPP \ apache \ conf \ httpd. conf
PHP: \ XAMPP \ PHP. ini
MySQL: \ XAMPP \ mysql \ bin \ My. ini
PhpMyAdmin: \ XAMPP \ phpMyAdmin \ config. Inc. php
Filezilla ftp: \ XAMPP \ filezillaftp \ filezilla server. xml
Mercury Mail:. \ XAMPP \ mercurymail \ mercury. ini
Sendmail: \ XAMPP \ Sendmail \ sendmail. ini
Others
All master files are stored in the htdocs folder (\ XAMPP \ htdocs)
References:
PHP environment configuration: Windows XAMPP installation instructions and use http://www.leapsoul.cn /? P = 275
XAMPP Security Configuration: http://wenku.baidu.com/view/decbf36a011ca300a6c390f9.html
XAMPP installation and use tutorial: http://www.cnblogs.com/bnuvincent/archive/2010/11/09/1872358.html