"Learning Essays" notes on PHP.ini-1

Source: Internet
Author: User
Tags bitwise php cli sapi zend

    1. SAPI module specific location. The exact location of the SAPI module

SAPI is an abbreviation for the server Application programming Interface (Application programming interface for servers). PHP provides a set of interfaces through SAPI for data interaction between the application and the PHP kernel. Similar to the function input and output, the essence is that the Linux shell through PHP sapi passed a set of parameters, the Zend engine executes, returned to the shell, the shell is displayed by the process. Similarly, through Apache call PHP, through the Web server to SAPI incoming data, Zend engine executes, returned to Apache, by Apache display on the page.

    1. The PHPRC environment variable. PHPRC environment variable, is php.ini find the way
    2. A number of predefined registry keys on Windows some of the predefined registry keys on the Windows
    3. Current working directory (except CLI) working directory (except CLI)

CLI:PHP-CLI is the abbreviation for PHP command line interface, as its name implies, is the interface that PHP runs on the command lines, different from the PHP environment (PHP-CGI, ISAPI, etc.) that runs on the Web server, which means PHP can not only write the foreground page, it can also be used to write the background of the program. PHP CLI shell scripts apply to all PHP advantages, making it either support scripts or systems or even with GUI applications on the service side!

  1. The Web server ' s directory (for SAPI modules), or directory of PHP;   (otherwise in Windows) Web server directory (SAPI module), or Directory of PHP (otherwise windows)
  2. The directory from the--with-config-file-path compile time option, or thewindows the configuration of directories (C:\windows or C:\WINNT) The path to the file, the compile-time option, or the Windows directory
  3. See the PHP docs for more specific information view PHP documentation to provide more specific information
  4. ; | bitwise OR bitwise OR operation
  5. ; ^ Bitwise XOR Bitwise XOR OR operation
  6. ; & Bitwise AND Bitwise AND operations
  7. ; ~ Bitwise NOT BITWISE negation
  8. Foo = set an empty string
  9. Foo = None sets an empty string
  10. Foo = "None" sets the string to "none"
  11. Allow_call_time_pass_reference whether to force arguments to be passed by reference when a function call is enabled
  12. Default Value:on Defaults
  13. Development Value:off
  14. Production Value:off
  15. Display_errors Display Error
  16. Default Value:on
  17. ; Development Value:on
  18. ; Production Value:off
  19. Unserialize_callback_func = If the serializer discovers an undefined class to be instantiated, the unserialize () callback function is called (with the undefined class masterpiece as the parameter). If the specified function does not exist, or if the function does not contain/implement the undefined class, a warning is displayed. So this option is set only if you really need to implement such a callback function.
  20. Serialize_precision = The number of serialize_precision instructions determines the floating point digital storage after the doubles and floats are serialized. When you set a number to a suitable value to ensure accuracy, you may lose the deserialization later. Scope of application: Php_ini_all; Default value: 100,
  21. Safe_mode = Off PHP security mode is set up to attempt to resolve a shared server (Shared-server) security issue. On the structure, it is unreasonable to try to solve this problem on the PHP layer, but it is very unrealistic to modify the Web server layer and the operating system layer. So many people, especially ISPs, currently use Safe mode.
  22. Disable_functions Disabling features
  23. Disable_classes Disabling classes
  24. Highlight.string the color used to highlight strings that conform to PHP syntax.
  25. Highlight.string the color used to highlight strings that conform to PHP syntax.
  26. Highlight.comment the color used to highlight PHP comments.
  27. Highlight.keyword colors used to highlight PHP keywords (such as parentheses and semicolons).
  28. highlight.bg background color.
  29. Highlight.default the default color for PHP syntax.
  30. Highlight.html the color of the HTML code.
  31. Ignore_user_abort FALSE indicates that the script will be terminated as long as the script attempts to output after the client terminates the connection.
  32. Realpath_cache_size = 16k Gets the size of the true path buffer

"Learning Essays" notes on PHP.ini-1

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.