PHP + MySQL + Apache Build Environment

Source: Internet
Author: User
PHP + MySQL + Apache I do not know which environment is better to use. There are several types of environments in the book: Php + mysql + iis. It is troublesome to use Iis for configuration, in addition, an APPServ package can be directly installed. For new users, I have directly installed appserv. When I have research on php, I will use Iis again, other methods

PHP + MySQL + Apache I do not know which environment is better to use. There are several types of environments in the book: Php + mysql + iis. It is troublesome to use Iis for configuration, in addition, an APPServ package can be directly installed. For new users, I have directly installed appserv. When I have research on php, I will use Iis again, other methods

PHP + MySQL + Apache Environment

I don't know what to useEnvironmentBetter. There are several examples in the book: Php + mysql + iisEnvironmentI have trouble configuring Iis, and I have an APPServ package that can be directly installed. For new users, I have directly installed appserv, when I study php, I will use Iis and other methods to build it. The following are some of my key steps:

  • Appserv Installation
  • Php site settings in Dreamwaver
  • View simple Php websites
Appserv Installation

First go to Region. It is best to enter the mysql password as root for future use. After the encoding method is GB2312. after installation is complete, enter http: // localhost: 81/in the browser to view the appserv page, the installation is successful.

Php site settings in Dreamwaver

Php can use zend studio and dreamwaver for editing and generation. Because I use dreamwaver, I have not studied zend studio. This article mainly describes how to use dreamwaver for site settings to facilitate program debugging.
In dreamwaver, click site> Manage site> Add site

In advanced mode, the server model is changed to phpmysql. The prefix must be unified, followed by the mr/01/

View simple Php websites

After the configuration is complete, a problem occurs when you want to view php, that is, when debugging by F12, the page can be opened, but the Php Code cannot be executed, and then go to Baidu, after searching, I found that it was really silly and naive... In the original press F12, the page was displayed directly, but the script was not executed. Therefore, the http: // localhost: 81/mr/01/index. php page is displayed in the browser. The port number 81 is the port number for installing apache at the beginning. In this way, I can finally debug the website.

Xiaomu has used Php and taught me how to use it. The purpose of writing this document is to let myself have a learning record. I also hope that if any of the experts can see it, can you tell me what I 've done wrong or how to do it more conveniently? I hope you can give me some advice. Please share some good information with me. Thank you!

Related Article

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.