Quantumass soufiane Quantumass soufiane - 1 year ago 223
Javascript Question

Maximum execution time of 120 seconds exceeded laravel 5.2

I want to convert some GIFs to mp4. I tried to use CloudConvert, but when I installed the packages and configure the curl.cainfo I get that message that says

FatalErrorException in CurlFactory.php line 271:

Maximum execution time of 120 seconds exceeded

This is the code of converting
enter image description here

Answer Source

The video encoding process may need several minutes conversion time. To avoid such CURL timeout issues you should use an asynchronous implementation:

# Script: sendConversion

And in "save_file.php":

# Script: saveFile
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download