New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix invalid boolean value for CURLOPT_SSL_VERIFYHOST #9772

opengeek opened this Issue Apr 4, 2013 · 0 comments


None yet
1 participant

opengeek commented Apr 4, 2013

opengeek created Redmine issue ID 9772

See PHP internals discussion at

To prepare for the removal of support for a value of 1 with libcurl 7.28.1, PHP now throws a PHP Notice warning when this value is set to 1 (or true). The current AWS library integrated into the MODX core is setting this value to true improperly and triggering this warning. This causes many S3 Media Source issues when display_errors is enabled.

enigmatic-user pushed a commit to enigmatic-user/revolution that referenced this issue Feb 13, 2014

[modxcms#9772] Fix deprecated value for CURLOPT_SSL_VERIFYHOST
The AWS library integrated into core currently sets CURLOPT_SSL_VERIFYHOST to true (1), which is deprecated in libcurl (to be removed in 7.28.1). This should be set to 2, which prevents a PHP Notice from being triggered.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment