PHP command line View extended information

Source: Internet
Author: User

In general, we use third-party extensions during the development of PHP, which is especially important when we look at the information about PHP extensions. In general, we look at the extension information, are directly through the cat *.ini file, so the efficiency is very low, because sometimes you will not know the INI file under what path, although the search is easy to find, but overall is still troublesome.

So we need to look at the extended information as quickly as we can?

Of course, the php--ri command line is used.

Take query Seaslog as an example:

[email protected]:/tmp# php--ri seaslogseaslogseaslog support = Enabledseaslog Version = 1.8.5SeasLog Author = Chitao.gao [[email protected]]seaslog Supports = https://github.com/SeasX/SeasLogDirective = > Local Value = Master Valueseaslog.default_basepath =/home/www/log/seaslog-test =/home/www/log/ Seaslog-testseaslog.default_logger = default = Defaultseaslog.default_datetime_format = Y:m:d H:i:s = Y : m:d h:i:sseaslog.default_template =%T | %l | %P | %Q | %t | %M =%T | %l | %P | %Q | %t |  %mseaslog.disting_folder = on = Onseaslog.disting_type = off = Offseaslog.disting_by_hour = off = Offseaslog.use_buffer = on = Onseaslog.buffer_size = + 100seaslog.buffer_disabled_in_cli = Off =& Gt Offseaslog.trace_notice = off = offseaslog.trace_warning = off = Offseaslog.trace_error = on = Ons Easlog.trace_exception = on = Onseaslog.level = 8 => 8seaslog.recall_depth = 0 = 0seaslog.appender = 1 = 1seaslog.appender_retry = 0 = 0seaslog.remote_ Host = 127.0.0.1 = 127.0.0.1seaslog.remote_port = 514 = 514seaslog.remote_timeout = 1 = 1seaslog.t Rim_wrap = Off = Offseaslog.throw_exception = on = Onseaslog.ignore_warning = on = On

  

Can see the information is very rich, this way, later on the extension of the information query or the effective situation to quickly review.

PHP command line View extended information

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.