Home > Backend Development > PHP Problem > Steps to install php integrated environment

Steps to install php integrated environment

藏色散人
Release: 2023-02-28 08:52:01
Original
3141 people have browsed it

Steps to install php integrated environment

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:

Steps to install php integrated environment

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

Steps to install php integrated environment

Select [Yes] and enter decompression (installation):

Steps to install php integrated environment

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! 】

Steps to install php integrated environment

Install the missing [VC11 ​​and VC14 runtime libraries are not installed on the system, please note that it is X86 32-bit! 】Runtime library:

Steps to install php integrated environment

Start successfully:

Steps to install php integrated environment

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>
Copy after login

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)

Steps to install php integrated environment

Restart the server to test whether it is successfully accessed using the domain name:

Steps to install php integrated environment

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!

Related labels:
php
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template