PHP.ini configuration file (Chinese)

Source: Internet
Author: User
Tags constant empty ini zend

;;;;;;;;;;;

; Warning

;;;;;;;;;;;

; This profile is the default setting for newly installed PHP.

; By default, PHP uses this configuration file to install

; This configuration is for development purposes and * is not * for the production environment

; Based on some security considerations, consider using php.ini-recommended before your site is online.

; and online documentation http://php.net/manual/en/security.php.

;;;;;;;;;;;;;;;;;;;

; About PHP.ini;

;;;;;;;;;;;;;;;;;;;

; This file controls many aspects of PHP behavior. To enable PHP to read it

; Must be named ' PHP.ini '. PHP in its current working directory, specified by PHPRC environment variable directory

; And the directory specified at compile time (in this order) to find this file

; In a Windows environment, the compile-time directory is a Windows directory.

; Directories that look for php.ini in command-line mode can be overwritten by the-C parameter.

;

; The syntax for this file is very simple.

; Blank lines and rows starting with semicolons are ignored (as you may have guessed).

; The beginning of a segment (for example, [Foo]) is also silently ignored

; They may have other effects even in the future.

;

; Use the following syntax to set instructions:

; directive = value

; directive = value

; The instruction name is * Case Sensitive *-Foo=bar and Foo=bar are different.

;

; Values can be string, numeric, PHP constants (such as E_all and M_PI),

; INI constant (on, off, True, False, Yes, No and None) or an expression

; (for example, E_all & ~e_notice), or a quoted string ("foo").

;

; Expressions in the INI file can only use logical operations and parentheses:

; Logical OR

; & Logic and

; ~ Logical Non

; ! Take the counter

;

; Logical flags can be opened using 1,on,true or Yes.

; You can also use 0, off, False, or no to close.

;

; Not writing anything after the equals sign represents an empty string

; Or use the None keyword:

;

; Foo =; Set Foo to an empty string

; foo = none; Set Foo to an empty string

; Foo = "None"; Set Foo to string ' None '

;

; If you use constants in values, and this constant belongs to a dynamically loaded extension module

; (Whether it's a php extension or a zend extension),

; Then you can only use these constants after loading these extensions *.

;

;

;;;;;;;;;;;;;;;;;;;

; about this document;

;;;;;;;;;;;;;;;;;;;

; All values in the Php.ini-dist file are equivalent to the built-in default values

; (That is, if you don't use php.ini, or if you delete these lines,

; The same as the built-in default values).

;;;;;;;;;;;;;;;;;;;;

; Language Options;

;;;;;;;;;;;;;;;;;;;;

; Open the PHP scripting language engine under Apache

Engine = On

; Open Zend Engine compatibility mode (PHP 4.x)

Zend.ze1_compatibility_mode = Off

; Allow

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.