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