Several useful parameters of AGI calling PHP data php.ini
Source: Internet
Author: User
Several useful parameters for AGI calling PHP file php.ini
If you invoke the PHP file with the AGI interface, you should set the following parameters. (for reference only)
Ob_implicit_flush (FALSE); To ensure that the output from the AGI script to the asterisk is not buffered, set the PHP output cache to false;
Set_time_limit (5); To confirm that no more than a reasonable time is spent executing, set a definite time in the AGI script; There is no exact way to verify an actual value. Usually depends on the specific implementation. Depending on your system and application, it is generally recommended to ensure that the script is guaranteed to work for a maximum limit of 30 seconds.
Error_log = Finename; Useful for debugging purposes, typically creating a log file.
Error_reporting (E_none); Errors are not recorded in 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.