Home >Backend Development >PHP Problem >How to set the path of php file

How to set the path of php file

王林
王林Original
2020-11-04 10:32:595236browse

How to set the path of the php file: 1. Open the httpd.conf configuration file; 2. Find the php7_module module; 3. Modify the configuration [PHPIniDir "php configuration file path"]; 4. Save the changes and restart apache .

How to set the path of php file

Method to specify the php file path:

(Recommended tutorial: apache)

Open The directory where the Apache configuration file is located

How to set the path of php file

is found in Apache. LoadModule uses PHPIniDir for the PHP module

How to set the path of php file

##, specify Path to the PHP configuration file

How to set the path of php file

Save the Apache configuration file and restart the service

Related recommendations:

php training

The above is the detailed content of How to set the path of php file. 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