Several useful php.ini configuration items-Path and directory path and directory
1, include_path = string
Scope: Php_ini_all
Default value: NULL
The path specified by this parameter is the base path used by functions such as include (), require (), and Fopen_with_path (). If there are multiple directories, separate them with semicolons.
2, Doc_root = string
Scope: Php_ini_system
Default value: NULL
This parameter determines the default location to provide all PHP scripts. Does not take effect until it is empty.
3, User_dir = string
Scope: Php_ini_system
Default value: NULL
Specifies the absolute directory that PHP uses when opening a file with the/~usesrname convention. For example: When User_dir is set to/home/users, if a user tries to open a file ~/gilmore/book.txt,php knows the absolute path/home/users/gilmore/book.txt.
4, Extension_dir = string
Scope: Php_ini_system
Default value:./(on Windows, ext is the default)
Tells PHP where to load the extension.
5, enable_dl = On | Off
Scope: Php_ini_system
Default value: Off
Allows the user to load the PHP extension at run time, which is loaded during the script run.
Several useful php.ini configuration items-Paths and directories