Title: Setting allow_url_fopen in php.ini
Last modified: August 20, 2016

---

# Setting allow_url_fopen in php.ini

 *  Resolved [throwingmarbles](https://wordpress.org/support/users/throwingmarbles/)
 * (@throwingmarbles)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/setting-allow_url_fopen-in-phpini/)
 * Hi,
    Thanks for your plugin! On my local MAMP setup, everything works like a 
   charm, however in the live environment, I keep running into this message while
   trying to add Youtube video’s:
 * Please enable the PHP setting `allow_url_fopen`
 * The php.ini file on the server says:
 * ; Whether to allow the treatment of URLs (like http:// or [ftp://](https://wordpress.org/support/topic/setting-allow_url_fopen-in-phpini/?output_format=md))
   as files.
    allow_url_fopen = On
 * Is there anything else I should change to fix this error?
 * I have tried comparing php.ini files, and found the following differences in 
   the server file:
 * disable_functions = exec, shell_exec, system, passthru, popen, pclose
 * post_max_size = 8M
 * magic_quotes_runtime = Off
 * enable_dl = Off
 * upload_max_filesize = 8M
 * session.hash_bits_per_character = 4
 * Also, MAMP loads some extensions my server doesn’t have:
 * extension=imap.so
    extension=yaz.so extension=mcrypt.so extension=gettext.so 
   extension=pgsql.so extension=pdo_pgsql.so extension=pdo_mysql.so
 * If you could help me find the culprit, I’d be very thankful
 * Kindest regards
    Marloes
 * [http://wordpress.org/extend/plugins/cool-video-gallery/](http://wordpress.org/extend/plugins/cool-video-gallery/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Praveen Rajan](https://wordpress.org/support/users/praveen-rajan/)
 * (@praveen-rajan)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/setting-allow_url_fopen-in-phpini/#post-3569545)
 * @ throwingmarbles
 * Check with your webserver hosting admin on privileges enabled.

Viewing 1 replies (of 1 total)

The topic ‘Setting allow_url_fopen in php.ini’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cool-video-gallery_658d3b.svg)
 * [Cool Video Gallery](https://wordpress.org/plugins/cool-video-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cool-video-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cool-video-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/cool-video-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cool-video-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cool-video-gallery/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [Youtube](https://wordpress.org/support/topic-tag/youtube/)

 * 1 reply
 * 2 participants
 * Last reply from: [Praveen Rajan](https://wordpress.org/support/users/praveen-rajan/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/setting-allow_url_fopen-in-phpini/#post-3569545)
 * Status: resolved