Learn PHP Step-by-step learning PHP1 PHP Development environment Configuration

Source: Internet
Author: User
Tags learn php php development environment
1. Appservnetwork

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

First, let's download a complete set of PHP-related tool--appservnetwork.

Appserv 2.5.10 PHP Operating environment
Appserv 2.6.0 PHP Operating environment
After the installation is finished, 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 machine is: D:\AppServ\www. We can see a PHP page in the catalog for us to test

Let's try typing in the browser address bar:

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

2. Zend Studio

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

I use the latest 7.1 version, do not forget to register Oh, hehe!

3. Hello PHP

OK, let's develop the simplest PHP page.

Zend Studio 7.x and 6.x are all eclipse-based, so they are 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:

  
   PHP Echo ("Hello PHP");

At this point, we can see the results.

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

< HTML >< Head > < title > hellophp
  
    title>
   
     head><Body  > 
    
      php   Echo("Hello php"
     ?> 
       Body 
      > 
        HTML >     

Is it more like a Web page?

The above is introduced to learn PHP step-by-step learning PHP1 PHP development environment configuration, including the content of learning PHP, I hope the PHP tutorial interested in a friend helpful.

  • 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.