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

How to set the path of php file

王林
Release: 2023-03-07 08:16:01
Original
5235 people have browsed it

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!

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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template