Home >Backend Development >PHP Problem >How to set the path of php file
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 .
Method to specify the php file path:
(Recommended tutorial: apache)
Open The directory where the Apache configuration file is located
is found in Apache. LoadModule uses PHPIniDir for the PHP module
##, specify Path to the PHP configuration file Save the Apache configuration file and restart the serviceRelated recommendations: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!