flangefrog Posted September 24, 2014 Report Posted September 24, 2014 I set up S3 backup today with a local S3 compatible provider. My PHP 5.4 Windows dev installation could connect but not my PHP 5.5 Ubuntu server. One problem was CURLOPT_SSL_VERIFYHOST which was set to 1 instead of 2 which is incorrect and depreciated. This was not the only issue though, I didn't bother debugging the rest. I solved the problem by upgrading vendors/amazons3/S3.php from 0.5.0-dev to 0.5.1-dev. This corrected the above issue and whatever else was causing the connection problems. This bug is present in 3.2.2 as well as 3.3.0-b2 Joseph H 1
Cody Posted September 24, 2014 Report Posted September 24, 2014 Where did you get 0.5.1? Latest looks like 0.5.0.
flangefrog Posted September 24, 2014 Author Report Posted September 24, 2014 I used the link Download latest development version (0.5.x – recommended) from here which downloads the latest dev version from github. https://github.com/tpyo/amazon-s3-php-class/blob/master/S3.php
Recommended Posts