Php Tutorial configuration file (2)

Source: Internet
Author: User
: This article mainly introduces the configuration file of the php Tutorial (2). If you are interested in the PHP Tutorial, refer to it. ; ========================================================== ==========================================

; ====================================== Detailed instructions for configuration commands ==== ======================================

; ========================================================== ==========================================

; The setting value for each of the following commands is the same as the default value built into the PHP-5.2.

That is, if 'php. ini 'does not exist, or you have deleted some rows, the default value is the same.

[Apache]

; Is valid only when PHP is used as the Apache module.

Engine = On

Whether to enable the PHP parsing engine.

You can enable or disable the PHP parsing engine based on directories or virtual hosts in httpd. conf.

Last_modified = Off

Whether to place the Last modification time of the PHP script in the Last-Modified response header.

Xbithack = Off

Whether or not the end of the file is parsed as a PHP executable bit group.

Child_terminate = Off

; PHP scripts allow the use of the apache_child_terminate () function to stop child processes after the request ends.

This command is only available when PHP is installed as Apache1.3 on UNIX platforms. It does not exist in other cases.

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

; PHP core ;;

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

[PHP-Core-DateTime]

The first four configuration options are currently only used for date_sunrise () and date_sunset () functions.

Date. default_latitude = 31.7667

; Default latitude


Date. default_l/strong>

; Default longitude

Date. Sun rise_zenith = 90.583333

By default

Date. sunset_zenith = 90.583333

By default, the sunset is at the top of the day.

Date. timezone =

; The default time zone used for all date and time functions when TZ environment variables are not set.

; "PRC" should be used in mainland China"

The priority of the application time zone is:

; 1. use the time zone set by the date_default_timezone_set () function (if set)

; 2. TZ environment variable (if not empty)

; 3. the value of this command (if set)

4. PHP speculation (if supported by the operating system)

; 5. if none of the preceding operations are successful, use UTC

[PHP-Core-Assert]

Assert. active = On

; Whether to enable assert () assert evaluation

Assert. bail = Off

; Whether to abort script execution in the event of a failure assertion

Assert. callback =

; The callback function executed when an assertion fails.

Assert. quiet_eval = Off

; Whether to use quiet evaluation (no error message is displayed, which is equivalent to error_reporting = 0 ).

If it is disabled, the current error_reporting command value is used to evaluate the asserted expression.

Assert. warning = On

; Whether to give a warning to each failure assertion

Http://user.qzone.qq.com/2858415798/blog/1451869352
QQ: 2858415798

The above describes the configuration file of the php Tutorial (II), including some content, and hope to be helpful to friends who are interested in the PHP Tutorial.

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.