Home  >  Article  >  Backend Development  >  What are the php.ini configuration options?

What are the php.ini configuration options?

藏色散人
藏色散人Original
2020-06-30 10:51:082369browse

php.ini configuration options are: 1. "short_open_tag", indicating whether to enable abbreviation form; 2. "precision", indicating the number of significant digits displayed in floating point numbers; 3. "disable_functions", indicating prohibition Some functions and so on.

What are the php.ini configuration options?

php.ini configuration options

##precision"14"The number of digits that display significant digits in a floating point number Numberdisable_functions""Disable certain functionsdisable_classes""Disable certain classesexpose_php""Whether to expose PHP is installed on the servermax_execution_time30Maximum execution time##memory_limiterror_reportingE_ALL##display_errors"1"Display errorslog_errors"0"Set whether to record error logs to error_logerror_logNULLSet the file to which script errors will be loggedupload_max_filesize"2M"Maximum upload file sizepost_max_size"8M"Set the maximum POST data limitFor more related knowledge, please visit PHP Chinese website
Name Default Remarks
short_open_tag "1" Whether to enable the abbreviation form (<? ?>)
128M Memory limit per script execution
NULL Set the level of error reporting & ~ E_NOTICE & ~E_STRICT & ~E_DEPRECATED
!

The above is the detailed content of What are the php.ini configuration options?. 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
Previous article:What does php class mean?Next article:What does php class mean?