arbitrageur Posted February 21, 2015 Share Posted February 21, 2015 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 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/ 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
Archived
This topic is now archived and is closed to further replies.