PHP Article 2-configuring Mysql and PHPWampServer (1) Hello, everyone. yesterday I introduced how to install ZEND STUDIO. the link of the article yesterday is as follows:
Http://www.cnblogs.com/kmsfan/p/zendStudio.html
This section is the first part of the configuration. it has not been fully explained yet. because my personal work is busy and I have not been able to write a blog all day long, I have written it several times. sorry.
Today, I will show you how to start your first project.
There are different types of open projects, such as creating a new project or importing a project.
Today, we will talk about how to create and quickly import existing projects for these two types of projects.
Before creating a new project, we need to make some preparations, which refer to servers and databases.
The first is the server. here there are two types of servers:
1. database server MySql
2. Zend Studio's own Server Zend Server or IIS.
First, I recommend that you use the integrated software WampServer if it is a database server.
Below is:
Http://dlsw.baidu.com/sw-search-sp/soft/d3/10636/wampserver.exe? Version = 787106710
After Wamp Server is installed, we recommend that you download an IIS plug-in: PhpManager.
By the way, let us know the plug-in address:
Http://phpmanager.codeplex.com/releases/view/69115
Download the corresponding software package based on your operating system's 32-bit or 64-bit
After the download, go to IIS and enter php in the filter.
You can easily change the PHP version. you can also view some related files. although there is nothing to use here, it will play a major role in the future.
Then we return to WampServer, because WampServer is a software integrated with php + mysql + apache, so we need to determine according to the needs
Which functions are enabled. My example today is to use the IIS server, so we naturally cannot use Apache.
After WampServer is installed, start it.
In the taskbar, its icon appears. right-click it and select Language> Chinese to convert the Display Language to Chinese.
The next step is to install the MySql service. First, click the WampServer icon: Mysql-> install the service.
After the installation, start the service and you will find that the icon turns yellow. why is it not green?
Because we haven't started the Apahce service yet, because I am using IIS to explain this time, so we don't need Apache.
No. the above picture also contains PhpMyAdmin.
This is a Mysql database management tool, but WampServer is not integrated
Therefore, you must install PhpMyadmin.
PhpMyadmin:
Http://kaz.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.1.4/phpMyAdmin-4.1.4-all-languages.zip
After the download, decompress the package to a specific location and change the folder name to phpmyadmin.
When you install WampServer, an inetpub folder is automatically created. in your system directory,
Open this directory, go to the wwwroot directory, and cut the phpmyadmin folder to this directory:
Note: The administrator permission must be used to create or modify files in this directory. this is very important and will be discussed later !!!
Copy the file to this directory and click the WampServer icon in the taskbar-> phpmyadmin to enter,
The initial username is root, and the password is left blank.
What should I do if the password cannot be blank?
Open the phpmyadmin-> libraries-> config. default. php file.
Find $ cfg ['servers'] [$ I] ['allownopassword']
As shown in, if it is False, it is changed to true, then you can log on with a blank password.
Now that phpMyadmin and mysql are configured, let's talk about Zend Server, the deployment Server of Zend Studio, in the next section.