Hmm. Ok, three things:
-
Do you know what version of Elasticsearch client is being used? The timeout parameters are different, depending on if you are using the 1.x or 2.x branch of Elasticsearch-php
-
What version of PHP and libcurl?
-
It's possible your system has a different
php.iniwhich needs to be changed. E.g. often times, the cli will use one php.ini while Apache/fpm uses a different one. The easiest way to verify is to print outphpinfo()in your browser and verify thephp.iniyou modified is the one being used by your server.
I'm still leaning towards a configuration problem with PHP, since that FatalErrorException isn't something that is thrown by the client (or Guzzle), it's generated from PHP itself.