arbitrageur Posted February 21, 2015 Share Posted February 21, 2015 (edited) I'm on EC2, and for some reason my require to the Facebook PHP SDK is failing. require __DIR__ . '/autoload.php'; use Facebook\FacebookSession; use Facebook\FacebookRedirectLoginHelper; use Facebook\FacebookRequest; use Facebook\FacebookResponse; use Facebook\FacebookSDKException; use Facebook\FacebookRequestException; use Facebook\FacebookAuthorizationException; use Facebook\GraphObject; use Facebook\HttpClients\FacebookCurl; use Facebook\HttpClients\FacebookCurlHttpClient; My guess is somehow it's misconfiguration, with autoload having a fatal error and silently failing. It's working on localhost, however. Any ideas, and where can I view my EC2 PHP error logs? Thanks Edited February 21, 2015 by arbitrageur Quote Link to comment https://forums.phpfreaks.com/topic/294768-php-sdk-facebook-on-ec2-instal-not-working/ Share on other sites More sharing options...
jeffreyappel Posted April 8, 2015 Share Posted April 8, 2015 You are not specific to the problem.Anyway,follow the link that may help you.http://aws.amazon.com/articles/1044/ Quote Link to comment https://forums.phpfreaks.com/topic/294768-php-sdk-facebook-on-ec2-instal-not-working/#findComment-1508486 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.