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 php is called from AGI script to Aste AGI. 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;
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.