Several useful php.ini configuration items-Paths and directories

Source: Internet
Author: User
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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.