faq.rst 1.3 KB

1234567891011121314151617181920212223242526272829
  1. ===
  2. FAQ
  3. ===
  4. What should I do if I get this error: Fatal error: Maximum function nesting level of '100' reached, aborting!
  5. -------------------------------------------------------------------------------------------------------------
  6. You could run into this error if you have the XDebug extension installed and you execute a lot of requests in
  7. callbacks. This error message comes specifically from the XDebug extension. PHP itself does not have a function
  8. nesting limit. Change this setting in your php.ini to increase the limit::
  9. xdebug.max_nesting_level = 1000
  10. [`source <http://stackoverflow.com/a/4293870/151504>`_]
  11. How can I speed up my client?
  12. -----------------------------
  13. There are several things you can do to speed up your client:
  14. 1. Utilize a C based HTTP message parser (e.g. ``Guzzle\Parser\Message\PeclHttpMessageParser``)
  15. 2. Disable operation validation by setting the ``command.disable_validation`` option to true on a command
  16. Why am I getting a 417 error response?
  17. --------------------------------------
  18. This can occur for a number of reasons, but if you are sending PUT, POST, or PATCH requests with an
  19. ``Expect: 100-Continue`` header, a server that does not support this header will return a 417 response. You can work
  20. around this by calling ``$request->removeHeader('Expect');`` after setting the entity body of a request.