Contact Us
- Post a Question (public)
- Submit a Ticket (private)
- IRC-freenode: #pagodabox
- @pagodasupport
Fatal error: Uncaught exception 'Exception' with message 'Facebook needs the CURL PHP extension.
I have edited with notepad like this Boxfile, in vintage mode use sFtp:
web1:
name: tester1
php_extensions:
-curl
db1:
name: tester2
but this error stay after i click "deploy latest" on dashboard, anybody know to fix it?
Could you attach your Boxfile? I think the formatting was lost when you posted it here.
Thanks,
Joseph Brower
So for the non-paid apps is cURL extension of php is enabled?
cURL is not enabled by default, but it is available to be enabled for both paid and non-paid apps alike. Simply add it to your php_extensions in your Boxfile http://help.pagodabox.com/customer/portal/articles/175475-understanding-the-boxfile#php-Extensions.
Didn't know about Boxfile. Awesome, Thanks!
My problem is I need the library and when I call facebook.php
require 'sdk / src / facebook.php';
I get this error,'Facebook needs the CURL PHP extension.' in /var/www/pages/default/base_facebook.php:19 Stack trace: #0 /var/www/pages/default/src/facebook.php(18): require_once() #1 /var/www/pages/default/face7.php(6): require('/var/www/pages/...') #2 {main} thrown in /var/www/pages/default/base_facebook.php on line 19
Do not let me create a new question so I put it here.
Hello, my problem is I need to put the library facebook.php, and when I call require 'sdk / src / facebook.php';
I get this error: error: Uncaught exception 'Exception' with message 'Facebook needs the PHP CURL extension.
I have seen that there are more people with this problem you need to put the curl in boxfile. I have tried but not working. I added - curl up in my profile. This would be my boxfile changed:
web1:
name: TimeTabs
shared_writable_dirs:
- cache
- pages
- media
- var
PHP_VERSION: 5.3.10
php_extensions:
- mysqli
- mysql
- gd
- eaccelerator
- apc
- Sun
- geoip
- http
- json
- mcrypt
- pdo_mysql
- phar
- xml
- simplexml
- hash
- iconv
- curl
- soap
db1:
name: database_name
type: mysql
after_build:
- "Pagoda / deploy.sh"
-------------------------------------------------- -----------------
I do not know exactly where I have to keep I have proven in the code folder in the root and the folder pages.
If you check the output of phpinfo(), does it show the curl extension is enabled?
I looked at the phpinfo (), and understand that libcurl is enabled, I get like this:
Used Library Compiled Linked
libcurl 7.19.7 7.19.7
libevent disabled disabled
libz 1.2.3.3 1.2.3.3
libmagic disabled disabled
Not if you look in this part of the phpinfo () or another.
thank you very much
If curl is enabled, you should see a whole section in the phpinfo() output with curl config. Something like this: http://d.pr/i/UV7j
Hi I do not know how to put the extension on boxfile-curl, I've tried everything and still gives me the same error, please even for private if they can be more specific, take some time stuck with this issue. I would like to know how to change it soon. Thank you very much. With phpinfo () still does not leave me on.
Here’s the portion of the Boxfile guide with an example of adding php extensions to the Boxfile. Submit a private ticket with your app name if you’d like us to take a look at your specific app.
Guys I'm having problems with this same error. I am new to pagodabox and tried to create a Boxfile and upload it to the root of my directory, but it won't even let me do that. I get "Error: /Boxfile.txt: open for write: permission denied
Error: File transfer failed."
I recognize that I am a newbie idiot who is clueless. Can somebody please help me. I am unable to launch the app. I get "tal error: Uncaught exception 'Exception' with message 'Facebook needs the CURL PHP extension.' in /var/www/facebook.php:4 Stack trace: #0 /var/www/index.php(2): require() #1 {main} thrown in /var/www/facebook.php on line 4." If someone can have mercy on me and help me, I will be highly appreciative. Thanks in advance.
Are you using git or vintage mode?
Also not that the name of the Boxfile should be “Boxfile” with a capital B and no file extension.
This question is closed to new answers.