Steps to install php integrated environment
phpStudy installation
For programmers, phpstudy is a very easy-to-use PHP development environment integration package, including the latest Apache, PHP, MySQL and other programs. For newbies learning PHP, the environment configuration under WINDOWS is It is a very difficult thing; it is also a cumbersome thing for an experienced bird. So whether you are a newbie or an experienced one, the phpstudy package is a good choice. Next, I will tell you how to use phpstudy to build a php server.
Double-click the phpStudy installation icon to install:
Select the installation path of the integrated environment, the default is " C:phpStudy". Then [Yes]:
Note: You can change the path, of course it is best to remember the installation path
Select [Yes] and enter decompression (installation):
The installation is successful, but when starting, it prompts: [ The system does not have the VC11 and VC14 runtime libraries installed. Please note that it is X86 32-bit! 】
Install the missing [VC11 and VC14 runtime libraries are not installed on the system, please note that it is X86 32-bit! 】Runtime library:
Start successfully:
Configure the virtual host to simulate the external domain name locally
Open apache's vhosts.conf file to configure the virtual host
<VirtualHost *:80> DocumentRoot "E:\wuyaotian\phpStudy\PHPTutorial\WWW\blogwyt" ServerName www.itceshi.cn ServerAlias itceshi.cn <Directory "E:\wuyaotian\phpStudy\PHPTutorial\WWW\blogwyt"> Options FollowSymLinks ExecCGI AllowOverride All Order allow,deny Allow from all Require all granted </Directory> </VirtualHost>
Set the domain name
Open the host file and set the domain name
Add at the bottom of the file: 127.0.0.1 Custom domain name (this domain name must be consistent with the domain name in the vhosts.conf file in apache)
Restart the server to test whether it is successfully accessed using the domain name:
For more PHP related knowledge, please visit PHP Chinese website!
The above is the detailed content of Steps to install php integrated environment. For more information, please follow other related articles on the PHP Chinese website!