Home  >  Article  >  Backend Development  >  What is needed to run php?

What is needed to run php?

青灯夜游
青灯夜游Original
2019-11-20 14:05:443002browse

PHP, "Hypertext Preprocessor", is a general open source scripting language. PHP is a scripting language executed on the server side. It is similar to C language and is a commonly used website programming language.

What is needed to run php?

PHP runs in a server environment. If you want to run PHP, you need to build a php operating environment. WAMP, phpstudy, and xampp are all available. Install one.

Then throw the PHP file into the www folder, enter the access path in the browser: http://localhost/your file, and you can run the PHP file to display the results.

What is needed to run php?

Introduction to php running environment

Based on Linux platform

LNMP: Linux, Nginx, MySQL, PHP

LAMP: Linux, Apache, MySQL, PHP

Based on Windows platform

WAMP: Windows, Apache, MySQL, PHP

phpstudy: Apache PHP MySQL phpMyAdmin ZendOptimizer

Whether it is LNMP, LAMP, or WAMP, we can install and configure it, but as a quick starter, we can not worry about which environment to use for the time being, nor 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.

The above is the detailed content of What is needed to run php?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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