Several useful parameters of php. ini called by AGI

Source: Internet
Author: User
AGI calls php file. if you use the AGI interface to call the php file, set the following parameters. (For reference only) ob_implicit_flush (false); & nbsp; to ensure that the output from AGI script to Asterisk is not buffered, set PHP output cache to false; set_time_limi AGI calls php file. some useful parameters of ini
If you use the AGI interface to call the php file, pay attention to setting the following parameters (for reference only)

Ob_implicit_flush (false); // Set the PHP output cache to false to ensure that the output from the AGI script to Asterisk is not buffered;

Set_time_limit (5); // set a definite time in the AGI script to ensure that the execution does not exceed a reasonable time; there is no exact method to verify an actual value. usually depends on the specific implementation. depends on your system and application, but it is generally recommended to make sure the script and ensure the maximum value to work is 30 seconds.

Error_log = finename; // useful for debugging purposes. a log file is usually created.

Error_reporting (E_NONE); // errors are not described as error_log;


Cheers!
Joe. Yeung
Www.voipevents.com

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.