Step-by-Step Learning PHP (1) PHP Development Environment Configuration _php Foundation

Source: Internet
Author: User
Tags php development environment zend

1. Appservnetwork

First, let's download some of the PHP-related stuff first.

First, we'll download a complete set of PHP-related tools--appservnetwork.

Appserv 2.5.10 PHP Operating environment

Appserv 2.6.0 PHP Operating environment

After the installation is complete, the Start menu appears:

Let's start with Apache first. (Control Server by Service–>apache Start). where Apache and MySQL have been installed as window services.

When the startup succeeds. Let's Open the installation directory:

On my own machine is: D:\AppServ\www. We can see the PHP page in the catalogue for us to test

Let's try typing in the browser's address bar:

At this point, we should be able to see the PHP-related pages.

2. Zend Studio

With the operating environment, we also need a strong related environment, where individuals recommend Zend Studio.

I use the latest 7.1 version, don't forget to register Oh, hehe!

3. Hello PHP

OK, next let's develop the simplest PHP page.

Zend Studio 7.x and 6.x are both based on eclipse, so it's very similar to eclipse.

First let's create a PHP Project and then point the directory to our Apache directory.

Next, create a new PHP page.

Let's write down the simplest PHP code:

?  Echo ("Hello PHP"); 

Then we can see the result.

Oh, let us write more like a Web page some.

<HTML> <head> <title>hellophp</title> </Head > <body>  Echo (?> </body> </html         

Is it more like a Web page?

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.