title: Trouble in hosting Facebook Apps
body: <p>I'm new to the Facebook application world and web hosting stuff.</p>
  
  <p>I tested my Facebook apps locally and it runs well. However, when I try to put on my server, nothing happens, just a blank page. 
  When I try to do some program without the Facebook PHP-SDK it runs well. But when I use it nothing happens.</p>
  
  <p>I think this is a newbie question but I don't know where else I should put it. </p>
  
  <p>I'm using xampp, in the log appears:</p>
  
  <pre><code>::1 - - [22/Oct/2011:19:30:15 +0100] "POST /temp/ HTTP/1.1" 200 4253 "https://apps.facebook.com/first_app_diogo/" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1"
  </code></pre>
  
  <p>this is locally, I see POST above, so it looks like is making a POST request, right?</p>
  
  <p>My app is a canvas app. </p>
  
  <p>I created a free hosting account in bytehost to put my app online, but doesn't work, I already tried with another web hosting, and had the same result. Even the simplest app that calls a the facebook API doesn't work...</p>
  
  <p>I activated runtime error reporting in php and got the following error:</p>
  
  <pre><code>Fatal error: Uncaught exception 'Exception' with message 'Facebook needs the CURL PHP extension.' in /home/vol3/byethost7.com/b7_9378562/htdocs/php-sdk/src/base_facebook.php:19 Stack trace: #0 /home/vol3/byethost7.com/b7_9378562/htdocs/php-sdk/src/facebook.php(18): require_once() #1 /home/vol3/byethost7.com/b7_9378562/htdocs/config.php(3): require('/home/vol3/byet...') #2 /home/vol3/byethost7.com/b7_9378562/htdocs/index.php(6): require('/home/vol3/byet...') #3 {main} thrown in /home/vol3/byethost7.com/b7_9378562/htdocs/php-sdk/src/base_facebook.php on line 19
  </code></pre>
  
  <p>so, it looks like the curl extension is disabled in my server. It worked locally because I enabled the curl extension in xampp. But how do I enabled it in my free server? 
  I know this isn't a programming question, but I'm really stuck on this.</p>