One:
Architecture of the 1.PHP
Lamp:linux Apache MySQL PHP
Wamp:linux Apache Mysql PHP (Integrated Environment Building software), a key to build PHP development environment tools
2. Modify the database password
Click Wamp, click--mysql--mysqlconsole
1) Start without password, first click Enter and then input use MySQL;
2) UPDATE mysql.user SET password=password (' 123 ') WHERE user= ' root ';
3) Review the changes OK no, restart the server--restart services
Two:
First, modify the Apache listening port
1, select Apache in the interface, Pop-up hidden menu options, open the configuration file httpd.conf; 2, find Listen 80 and ServerName localhost:80; 3, change 80 to 801 (of course, you can also set other unused ports, such as 8000, etc.); 4, save, waiting to restart Wamp service can be.
PHP Parse error:syntax error, unexpected $end the wrong solution
You can set Short_open_tag = on in the php.ini
First step, log on to the SQL command line
Second, use the SQL statement to modify the root password
Be sure to select the database when using SQL statements to change passwords. Use using MySQL; otherwise it will go wrong
Database--php Environment Construction