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?