How to modify the php.ini file path

王林
Release: 2023-03-02 09:58:01
Original
4144 people have browsed it

How to modify the php.ini file path: 1. Open the system environment variable settings; 2. Add the php.ini file path to the PATH environment variable; 3. Create a new environment variable named PHPRC and add The directory where the php.ini file is located; 4. Restart the computer to make the environment variables take effect.

How to modify the php.ini file path

How to modify the location of the php.ini file:

(Recommended tutorial:php tutorial)

Need to modify windows environment variables.

1. Right-click on the computer and select Properties, Advanced System Settings, and Environment Variables;

2. Add the value d:\www\php54 (with; sign) to the system’s PATH environment variable separated from the previous value);

3. Create a new environment variable, the "variable name" is "PHPRC", and the "variable value" is d:\www\php54 (the directory where the php.ini file is located) ;

4. Restart the computer to make the environment variables take effect.

The above is the detailed content of How to modify the php.ini file path. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!