Share This Post:

Gateway call interface: PHP timeout

Question:

I am testing the Voicent gateway with the standard Voicent Gateway PHP Interface. I am constantly getting this error and the sending message cuts off without warning.

“Fatal error: Maximum execution time of 30 seconds exceeded in ….\voicent.php on line 73″

Answer:

I have discovered the problem. The link to the Voicent server was working fine. It was ringing the number and delivering the message and then timed out cutting off the message.

The problem is in PHP. There is a default setting in the PHP.INI file setting the maximum time a php file waits for a response from a server is set to 30 seconds. I increased that and the problem went away. You may want to add this to your FAQ.

Best regards,

Chris

Share This Post:

This entry was posted in Developer, Gateway. Bookmark the permalink.