However in production (LightSpeed/PHP 5.4) it fails completely. Using a stripped-down version of the sample (exception handling omitted for brevity) even a simple version-check fails :
<?php $userStoreHttpClient = new THttpClient('sandbox.evernote.com', '443', "/edam/user", 'https'); $userStoreProtocol = new TBinaryProtocol($userStoreHttpClient); $userStore = new UserStoreClient($userStoreProtocol, $userStoreProtocol); // do something simple and check the protocol version (returns true or false). $versionOK = $userStore->checkVersion("Evernote EDAMTest (PHP)", 1, 21); // <----- it never returns here. But gets stuck reading in ttransport.php ?>
I've been over the php.ini settings, cross-checked the firewall, and stepped through the lib files. It appears to get hung-up somewhere with the read.
I know it's not exactly an API issue, but has anyone seen this before?