Learning PHP for so long, I found out that WAMP has been updated several versions yesterday. My version is very old. Of course, the version is not important. In order to review the WAMP configuration method, I am in the virtual machine. Manually and automatically configured to download the latest recommended version, the original did not expect to send to the jar, so there is no screenshot, and later found out that there are still many problems in the notebook, so share it, hope to Everyone is helpful. When I was doing the experiment, I also referred to the tutorials written by other seniors in the jar. Thank you very much. The steps are written relatively simple, but the important things are basically written out. If you don't understand, you can use the search engine. If I am online, I will try my best to answer them. The installation process is as follows: 1 manual installation: (1) follow the prompts to install Apache 2.2.14, there are two versions (specifically, what is the difference online has an answer), all, installed in C:\\WAMP\\Apache2.2.14. (2) Extract php-5.3.1-Win32-VC6-x86.zip (select VC6, Thread Safe version) to C:\\WAMP\\PHP5.3.1. (3) Open httpd.conf and add the following three lines: LoadModule php5_module C:/WAMP/PHP5.3.1/php5apache2_2.dll PHPIniDir "C:/WAMP/PHP5.3.1" AddType application/x-httpd-php .php .phtml Find DirectoryIndex index.html Change to: DirectoryIndex index.html index.php (4) Set the environment variable: C:\\WAMP\\PHP5.3.1; C:\\WAMP\\PHP5.3.1\\ext; You can also put C:\\ WAMP\\Apache2.2.14\\bin is also added, so if Apache fails, you can debug the command directly in the command console. (5) Modify php.ini: Find extension_dir, set to extension_dir = "C:/WAMP/PHP5.3.1/ext" Find the following extension: ;extension=php_gd2.dll ;extension=php_mbstring.dll ;extension=php_mysql.dll ;extension=php_mysqli.dll Remove the previous semicolon. This removes the preceding semicolon as needed. (6) Restart Apache and write a php web page test with PHP statements. (7) Decompress mysql-noinstall-5.1.41-win32.zip to C:\\WAMP\\MySQL5.1.41 (8) Change my-large.ini to my.ini, find [mysqld] and add the following statement: #set Default language default-character-set=gbk #set basedir to your installation path basedir=C:/WAMP/MySQL5.1.41 #set datadir to the location of your data directory datadir=C:/WAMP/MySQL5.1.41/data (9 First set the environment variable: C:\\WAMP\\MySQL5.1.41\\bin, then open a command window, type: mysqld --install MySQL --defaults-file=C:\\WAMP\\MySQL5.1.41\\my.ini After the installation is complete In the command window, type: mysql -u root Set the root account password: set password for 'root'@'localhost' = password('123456'); After that, you can use mysql, restart Apache, and write a php web test. (10) Install ZendOptimizer-3.3.0a-Windows-i386.exe as prompted. (11) Unzip phpMyAdmin-3.2.4 to C:\\WAMP\\Apache\\htdocs\\phpMyAdmin. (12) Open the file config.sample.inc.php and find the line of code: //$cfg['Servers'][$i]['controluser'] = 'pma'; //$cfg['Servers'] [$i]['controlpass'] = 'pmapass'; Change to: $cfg['Servers'][$i]['controluser'] = 'root'; $cfg['Servers'][$i][ ,null,null,3],'controlpass'] = '123456'; Note: If you need to use phpMyAdmin via remote server debugging, you cannot leave the blowfish_secret content empty. You can set a string at will. (13) Save it in the same directory as config.inc.php, now you can use phpMyAdmin in your browser. At this point, the manual installation is complete. ************************************************** ********************************** 2 automatic installation: (1) follow the prompts to install Apache 2.2.14, there are Two versions (specifically, what is the difference on the Internet), all work, installed at C:\\WAMP\\Apache2.2.14. (2) Run php-5.3.1-Win32-VC6-x86.msi (select VC6, Thread Safe version) and install it in C:\\WAMP\\PHP5.3.1. (3) After installation, find the file ntwdblib.dll on the Internet and put it in the C:\\WAMP\\PHP5.3.1 directory (this is not recommended). Or open php.ini, comment out the following sentence (just add a semicolon in front, if it has been commented that is better): extension=php_mssql.dll Then restart Apache, then it should be fine (if you restart Apache directly) , there may be errors). Write a php web page test. (4) Run mysql-5.1.41-win32.msi and install it in C:\\WAMP\\MySQL5.1.41. (5) Restart Apache, create a new php page, connect MySQL to verify that the installation is successful. (6) Extract phpMyAdmin-3.2.4 to C:\\WAMP\\Apache\\htdocs\\phpMyAdmin. (7) Open the file config.sample.inc.php and find the line of code: //$cfg['Servers'][$i]['controluser'] = 'pma'; //$cfg['Servers'] [$i]['controlpass'] = 'pmapass'; Change to: $cfg['Servers'][$i]['controluser'] = 'root'; $cfg['Servers'][$i][ ,null,null,3],'controlpass'] = '123456'; Note: If you need to use phpMyAdmin via remote server debugging, you cannot leave the blowfish_secret content empty. You can just set a string, preferably set a string. (8) Save it in the same directory as config.inc.php, now you can use phpMyAdmin in your browser. At this point, the automatic installation is complete.
Web Farm and Network Load Balancing Overview After building multiple Web IIS Web servers i
Initial contact with Windows server 2003 server friends when using IIS, it is not clear abo
When using Windows NT 4.0, IIS has become a popular web server platform. IIS 4.0 is released
Method 1: 1, open our IIS manager, find the shared configuration in the function view, and then dou
IIS: Website Server Configuration and Configuration
Easily implement Web server isochronous automatic backup
Web server management series: 9, create a password reset disk
How to set up a router on the external network to access the local IIS site
IIS common problems and errors and their solutions
WEB dedicated server security settings of the practical skills
Windows 2003 Vps security settings problem tutorial
IIS under the 301 permanent redirection settings method
Solution to IIS suspended animation
Win xp system does not matter. Three strokes get fixed
How does Win7 set up the software to boot from the boot?
What should I do if the Win7 search function fails?
Old system new operation! win2008 desktop theme application process
How to quickly get the file path of Win10 system
How to use the Windows 7 system (PC Safeguard) protection function
Win10 high score screen shows how to set the fuzzy DPI?
Windows 8 Reinstall System Refresh Function
Win8 enters the control panel's four tricks for easy daily operation