Alexander Farber <[email protected]> wrote: > Hello, > > does anybody please have experience in using Facebook API > from OpenBSD with chrooted Apache and the php5 from packages? > > I'm trying to call theirs $fb->api_client->admin_setAppProperties() > but get the error: > > Warning: fopen() [function.fopen]: URL file-access is disabled in the > server configuration in /htdocs/facebook/facebookapi_php5_restlib.php > on line 3343 > > How could I enable that URL file-access temporarily? > (I need to run the admin_setAppProperties just once). > I've tried changing following lines in php.ini with no success: > > ; Whether to allow the treatment of URLs (like http:// or ftp://) as > files. > allow_url_fopen = On > > ; Whether to allow include/require to open URLs (like http:// or > ftp://) as files. > allow_url_include = On > > And I can't run my php-script at the CLI, since Facebook > is supposed to HTTP post some info to it. > > Regards > Alex
Take a look at your php.ini file to allow fopen to work on URLs.

