Remember a word
PHP is a module of APACHEHTTPD
PHP is run on the server side, relying on the apachehttpd to parse and load PHP.
Don't say anything, just a picture.
Learning this PHP development is also an accidental opportunity
It is also because of learning to develop the public number, only choose the course of self-study
Spend nearly half a day, on the PHP Chinese web site read the Wisdom Podcast teacher recorded PHP learning video
Platform Address: http://www.php.cn/php/php-tutorial.html
Although PHP eventually runs on the Apache server, it is a module of Apache.
But after a half-day video, PHP development still needs an environment
Don't say much nonsense,
Step into the environment construction
First, install Apache
First, choose to create a folder under one of the disks,
Folder name Wamp "Windows Apache MySQL PHP",
The purpose of creating this folder is to facilitate management
Of course, to install Apache, you need to download the program installation package, the General APACHEHTTPD installation package is someone packaged.
Bloggers looking for learning video on the corresponding APACHEHTTPD installation package but it took a lot of effort, below I would like to enumerate how to search for them
Here bloggers only list two versions
_1.1 Apache HTTPD V2.2.25
OK, Baidu search Apache 2.2.25
Found below [Bo is definitely looking for the green version of the website, ha, I still have to clear the spam site]
_1.2 Apache HTTPD v2.4.x
Good, Baidu search Apache 2.4.26 x64
Why is the membership of the great effort, because the Apache website downloaded apachehttpd program Source is not packaged executable files
Instead of just a compressed package "is already installed APACHEHTTPD, install file directory",
{I'm straining all the ways to install the service, on the basis of extracting the downloaded apachehttpd, using command-knocking,
Hpptd-k Install
How, this command is a little strange, yes, it is not the same, the General Service installation command Servername-install
It is possible to install successfully, however, it is useless to do so, it is necessary to download the installation package with optional installation steps.
}
There is no egg to use, you can go and experience
Ok, file download OK, start installation
Steps to run the installation file.
Come to apachehttpd install screen click Next
Choose to accept the installation agreement for the software and click Next
Come to APCHEHTTPD's profile interface and go directly to the next
Fill in the appropriate domain name format according to each item's fill-in prompt, then select APACHEHTTPD to run on port 80
You can choose a second radio, which means to configure the custom port after the installation.
It's not working, oh, just turn off the program that occupies the APACHEHTTPD port.
Open Comand, Netstat-ano.
Locate the port-occupying program, write down the program's run ID, and remove the task Manager from shutting down.
Select the type of installation, select the user-defined installation, the first is a classic installation
Next, go to the following step, select the installation path, and choose to install the APACHEHTTPD after installation, the sub-function will be loaded into the ground.
Check the main node again and choose the installation path, we created a folder in front Wamp
Installation Complete
Second, Apache start stop restart operation
Here the blogger only lists the main summaries, and the other list headings are marked
1. Locate the Service dialog box in the Control Panel
2,comand Terminal command Line interface
Start
Stop it
Restart
On top, there's no see if there's a warning, okay, if you have obsessive-compulsive disorder, just follow the steps below to fix it.
Website: http://www.cnblogs.com/52linux/archive/2012/03/24/2415637.html
If you change the configuration file, you need to restart APACHEHTTPD
Do not say anything, use the command operation.
Successfully resolved
3. In the taskbar at the bottom right of the screen, you can click or double-tap to start the APACHEHTTPD stop restart operation
Third, the configuration of environment variables
Apachehttpd
Php
These two objects are more convenient to configure the native environment variables. Bloggers do not enumerate, time relations
PHP Learning _ development environment to build _AAPCHEHTTPD installation