Step by step learning PHP (1) php development environment configuration _ PHP Tutorial

Source: Internet
Author: User
Tags php development environment
Step by step, you can learn the PHP (1) php development environment configuration. 1. AppServnetwork first, let's download something related to PHP. First, we will download a complete set of PHP-related tools-AppServnetwork. AppServ2.5.10php runtime environment 1. AppServnetwork

First, let's download something related to PHP.

First, we will download a complete set of PHP-related tools-AppServnetwork.

AppServ 2.5.10 php runtime environment

Appserv 2.6.0 php runtime environment

After the installation is complete, the following appears in the Start menu:

Let's start Apache first. (Control Server by Service-> Apache Start ). Apache and MySQL have been installed into the Window service.

After the instance is started successfully. Let's open the installation directory:

On my local Machine: D: \ AppServ \ www. The directory contains the PHP page for our test.

Let's try entering the following in the browser address bar:

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

2. Zend Studio

With the running environment, we also need an effective environment. here I recommend Zend Studio.

I use the latest version 7.1. Don't forget to register it!

3. Hello PHP

Now let's develop the simplest PHP page.

Zend Studio 7.x and 6.x are both based on Eclipse, so they are very similar to Eclipse.

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

Next, create a PHP page.

Let's write down the simplest PHP code:

  phpecho("Hello PHP");

Now we can see the result.

Well, let's write more like a webpage.

<html><head> <title>HelloPHP
  title>
   head><body> 
    php   echo("Hello PHP"); ?>
     body>
      html>

Is it more like a webpage?

Http://www.bkjia.com/PHPjc/321314.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/321314.htmlTechArticle1. AppServnetwork first, let's download something related to PHP. First, we will download a complete set of PHP-related tools-AppServnetwork. AppServ 2.5.10 php runtime environment...

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.