PHP basic tutorial 1: development environment configuration

Source: Internet
Author: User
I want to help a few people who want to learn PHP. at the same time, I want to learn more about and summarize my basic knowledge. it is critical to master the basic knowledge in development, those who want to learn PHP can stick to it, and they also hope they will become more and more NB-intensive.


Preface


I hope to help a few people who want to learn PHP and learn more about and summarize their basic knowledge. it is critical to master the basic knowledge in development, those who want to learn PHP can stick to it, and they also hope they will become more and more NB-intensive.

This section describes
  • Install php environment variables in detail.

  • Php editing software

Overall process

Zookeeper Php is a development server language. if you want to access the server on your computer, you can install an Apache server on your computer. In this way, you can access the web pages on your computer through a browser.

When accessing our webpage, we generally refer to a file ending with .html. This file is parsed in the browser, but when the browser accesses it. when the php extension file is used, the browser cannot parse it. in this case, you need to parse the Php code to the php development module. sometimes the php code will operate on the database, in this case, you need to associate the php module with the database.

The general flowchart is as follows:

For ease of operation, you can set an environment path, which is the same as that of apache.

Php editing software

Write PHP code in development. you can use notepad, but notepad is too low. for beginners, you can use editplus or sublime.

Sublime

EditPlus

Summary

With Zookeeper, our php development environment has been configured. the most important thing is the integration of the php module and the Apache Module. be careful not to write errors in letters. Note the meaning of each option during mysql installation. Do not select an error.

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.