Advanced->Environment Variables" to complete the configuration of PHP environment variables."/> Advanced->Environment Variables" to complete the configuration of PHP environment variables.">

Home>Article>Backend Development> What do php environment variables mean?

What do php environment variables mean?

藏色散人
藏色散人 Original
2020-08-20 10:45:32 2630browse

php environment variables refer to the environment variables for configuring PHP. Just configure the "php.exe" path in "Computer->Advanced->Environment Variables" to complete the configuration of PHP environment variables.

What do php environment variables mean?

Recommended: "PHP Video Tutorial"

php environment variables

Configure php environment variables. Go to our computer->Advanced->Environment Variables

and configure the php.exe path. In the future, you can use it directly in the CMD big black box. No path is required.

Related introduction:

Since the 1980s, every popular operating system has supported variables, just like programming languages. When a process starts, it inherits the variables of the parent process. The process uses these variables to discover information about the environment in which it is run, such as the preferred location for saving temporary files or the location of the user's home directory.

If you are using a Unix operating system, such as MacOS or Linux, you can open a terminal and view the value of the $HOME environment variable, as shown below:

» echo $HOME /Users/matt

If you are using Windows , you can open Powershell and enter the following:

Write-Output $env:HOMEPATH

Typically, environment variables are written in uppercase, with underscores separating the words LIKE_THIS.

The above is the detailed content of What do php environment variables mean?. 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