Home > Backend Development > PHP Problem > What environment is required to run php

What environment is required to run php

(*-*)浩
Release: 2023-02-23 20:14:01
Original
11900 people have browsed it

What environment is required to run php

Running php requires PHP operating environment

Based on Linux platform

LNMP: Linux, Nginx, MySQL, PHP

LAMP: Linux, Apache, MySQL, PHP

Based on Windows platform (Recommended learning: PHP programming from entry to proficiency)

WAMP: Windows, Apache, MySQL, PHP

Whether it is LNMP, LAMP, or WAMP, we can install and configure it, but as a quick starter, we can not worry about using it for the time being. For that environment, I don’t want to see how to configure the environment independently for the time being. Moreover, our predecessors have already prepared integrated environments for us, such as phpstudy, wamp, xampp, easyphp, etc. Here we recommend phpstudy's PHP running environment building tool on the windows platform, which is very easy to use.

phpstudy V8.0 download and installation steps:

Step one: Download the phpstudy V8.0 version installation package from the official website

What environment is required to run php

Step 2: Unzip and double-click the phpstudy V8.0 installation package, and the following installation interface will appear.

What environment is required to run php

Step 3: Then open the custom option and select the installation path. The default is to install on the D drive.

Note: The installation package is set to the second disk after the system disk by default. If there is no other drive letter, it will be installed on the C drive. When the host drive letter is only the C drive available, do not install it. Use a USB flash drive, otherwise it may be installed into the USB flash drive by mistake.

Step 4: After the installation is successful, the following interface will appear.

We can start or stop services such as Apache and MySQL in this interface.

What environment is required to run php

(Initial run interface)

What environment is required to run php

(Kit startup interface)

Step 5: Select the Settings item - System Settings, and then set the website root directory.

What environment is required to run php

Step 6: After selecting and setting the root directory, click Apply, and then restart Apache.

What environment is required to run php

Note: If it has been installed before, when installing again, please make sure that the last installation has been uninstalled or all files are readable. Otherwise, please back up the files, uninstall and then install again.

The above is the detailed content of What environment is required to run php. 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