Monday 15 April 2013

apache - Facebook needs PHP Curl Extension issue with php.ini file -



apache - Facebook needs PHP Curl Extension issue with php.ini file -

i trying setup local version of website can testing on. when open site in browser php error:

( ! ) exception: facebook needs curl php extension. in c:\wamp\www\mysie.tld\includes\facebook-graph\base_facebook.php on line 19

so did bit of reading , saw due wampserver not having extension enabled php. did phpinfo() , output .ini file beingness loaded.

c:\wamp\bin\apache\apache2.4.2\bin\php.ini

i opened file in text editor , removed semi colon before line:

extension=php_curl.dll

i restarted wampserver , reloaded site. unfortunately, error persisted , not know can prepare it! help much appreciated.

managed figure out quick scan through similar questions on so. if running same issue due bug in curl.dllfile came wamp 2.2. in order rectify issue downloaded php_curl-5.4.3-vc9x64.zip link:

https://code.google.com/p/justintung/downloads/detail?name=php_curl-5.4.3-vc9-x64.zip&can=2&q=

i moved , replaced curl.dll file in downloaded folder curl.dll file located in php ext directory.

restarted wamp , problem resolved.

php apache curl wamp

No comments:

Post a Comment