Learn PHP second with me-configure MySQL and PHP wampserver (1)

Source: Internet
Author: User
Tags zend server
Hello everyone, yesterday I showed you how to install Zend STUDIO, the following links to yesterday's article:

Http://www.cnblogs.com/kmsfan/p/zendStudio.html

This section is the first part of the configuration, has not finished all, because the personal work relatively busy, not a full day of time to write a blog, so divided into several times to write, forget forgive.

Today I'll 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 are talking about how these 2 types of projects are built and quickly imported into existing projects.

Before we set up a new project, we have to do some preparatory work, which refers to the server and the database.

The first is the server, there are 2 types of servers mentioned here:

1. Database server MySQL

2.Zend Studio comes with a server Zend server or IIS.

First of all, I recommend that if it is a database server, I recommend that you use the integration of good software wampserver.

Here is the download address:

http://dlsw.baidu.com/sw-search-sp/soft/d3/10636/wampserver.exe?version=787106710

After installing Wamp Server, we recommend that you download a plugin for IIS: Phpmanager

By the way, please tell us the address of the plugin:

http://phpmanager.codeplex.com/releases/view/69115

Download the corresponding package according to your operating system 32-bit or 64-bit after entering

After downloading, go to IIS and enter PHP in the filter

You can easily change the version of PHP, you can also view some of the relevant files, although here for the time being nothing, but later will have a great effect.

Then we go back to Wampserver, because Wampserver is a software that integrates php+mysql+apache, so we need to determine

What features are turned on. The example I'm using today is an IIS server, so it's natural to use Apache.

After installing the Wampserver, start it.

The taskbar will appear with its icon, right-click it, select Language->chinese to adjust the display language to Chinese.

Then the next step is to install the Mysql service, first left click Wampserver icon:mysql-> installation Service

After installing the service, you will find that the icon turns yellow, why is it not green?

Because we have not started the APAHCE service, because this time I use IIS to explain, so do not need Apache.

You see, there's a phpmyadmin in the picture above.

This is MySQL's database management tool, but there is no integration in Wampserver

So, you have to install a phpmyadmin.

phpMyAdmin Download Address:

Http://kaz.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/4.1.4/phpMyAdmin-4.1.4-all-languages.zip

Download it and unzip it to a specific location, then change the folder name to: phpMyAdmin.

Just install the Wampserver, will automatically create a new Inetpub folder, in your system directory,

Open this directory, then go to the Wwwroot directory, and then cut the phpMyAdmin folder into this directory:

Note: The new or modified files in this directory must use Administrator privileges, which is very important, and later on!!!

Then copy the files to this directory and click on the Wampserver icon in the taskbar to enter->phpmyadmin.

The initial user name is root and the password is left blank.

What if a password cannot be empty?

Open phpmyadmin->libraries->config.default.php File

Then find $cfg [' Servers '] [$i] [' Allownopassword ']

As shown, if it is false, it will be true, then you can login with a null password

OK, phpMyAdmin and MySQL configuration is complete, the next section is to talk about Zend Studio's deployment server Zend Server.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.