iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
Antihost offers managed WordPress hosting with free migration, one-click staging and a 14-day free trial.
allow_url_fopen is controlled by PHP, not by a WordPress dashboard setting. To enable or disable it, change the PHP configuration used by the web server or PHP-FPM pool that runs your site. On cPanel servers, administrators commonly use WHM → Software → MultiPHP INI Editor for a PHP-version-wide setting, or WHM → Software → MultiPHP Manager to change PHP-FPM’s Treat URLs as files (allow_url_fopen) value for a domain.
If you do not have WHM or server-level access, ask your hosting provider to change the directive for the exact PHP version and web runtime serving WordPress. Changing the value in command-line PHP, wp-config.php, or a WordPress plugin may have no effect because this is normally an INI_SYSTEM directive.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Fix the driver behind crashes, sound loss and screen glitches3Repair Windows errors before they cause bigger problemsWhat allow_url_fopen does
PHP’s allow_url_fopen directive enables URL-aware stream wrappers. When it is enabled, functions that accept a filename, such as fopen() and related stream functions, can open registered HTTP or FTP URLs as remote resources. A WordPress plugin might use those functions to download a feed, retrieve an update manifest, import remote data, or read another service’s response.
“This option enables the URL-aware fopen wrappers that enable accessing URL object like files.” — PHP Manual, Filesystem and Streams Configuration Options
#1 Best Overall
SaleCompressed Air Duster,130000RPM Super Power Cordless Air Duster,Rechargeable Brushless Blower,3 Gear Adjustable Blower with LED Light,Dust Remover for Computer/House/Outdoor/Car
- Powerful Turbo Fan:CAGIWIRU Electric Air Duster have reached speed up to 130000RPM,Can efficient remove dust and debris.With LED light and Three Adjustable Speed to meet with different cleaning tasks.
- With Attached USB C Fasting Charging cable.Charing 3 hours,Enjoy up to 240 minutes of use on the lowest setting, For third speed can use for 25mins.with four charging options to meet with your needs.
- Wide Application:Upgraded attached 5 different nozzles,making it suitable for a variety of scenes, such as car,pet, pc, keyboards, and other electronic devices. It also serves for office and home clean duster.
- Handy Design & Portable:Cordless air duster electric nozzle is Light weight and small size, design and comfortable to hold and space saving, convenient to carry around. You can put it in your room or inside the car without taking up space.
- Warranty & Support: Our Electric air duster comes with 5 years warranty and 24/7 customer service. During this period, if you have any questions,pls kindly feel free to contact us.
When the directive is disabled and code passes an HTTP or FTP address to a stream function, PHP issues a warning and the operation fails. The failure can appear in WordPress as a generic connection error, an import that never completes, or a plugin notice saying that URL access is unavailable.
allow_url_include is a different directive. It controls URL-based include, include_once, require, and require_once operations. Enabling allow_url_fopen does not enable remote inclusion, and enabling remote inclusion is not a fix for an ordinary HTTP request.
PHP classifies allow_url_fopen as INI_SYSTEM. In practice, the effective value normally has to come from the system php.ini, a PHP-FPM pool or an equivalent administrator-controlled configuration. A call such as ini_set('allow_url_fopen', '1') in a plugin should not be treated as a reliable way to change it.
Decide whether the site should use it
Enable it when a maintained feature genuinely needs PHP stream wrappers
Enable the directive when a trusted, current plugin or application component explicitly requires HTTP or FTP streams and cannot use another supported transport. Confirm the requirement in the component’s documentation or its diagnostic screen, and identify which PHP version and runtime the component uses before changing anything.
Keep it disabled when there is no confirmed requirement
cPanel commonly disables the option as a security hardening measure. Leaving it off reduces the number of PHP features that can fetch remote content through filename-based functions. If no site feature needs those wrappers, there is no benefit in turning the setting on merely because a tutorial recommends it.
Rank #2
- Screen Cleaner is Your Screen’s New Bestfriend! - EVEO is proud to present a screen cleaner that’s perfectly suited for your TV. Meet your new screen cleaner, computer screen cleaner, laptop cleaner, iPad cleaner, Macbook,tv cleaner or any other electronic device. Our screen cleaner spray and wipe along with the included plush microfiber cloth, easily removes dust, fingerprints & other smudges on the screen’s surface. Clean effectively for a streak-free screen
- Gentle on your Screens - Our screen cleaner spray and wipes is compatible to be used even for the most sensitive LCD, LED, CRT, and OLED screens in proper use. Be at ease knowing that this product is compatible with all the major brands: LG, SONY, Samsung, Sharp, iPad, iPhone, Android screens, Kindle, PC monitors - we’ve got you covered! Can be used as LCD screen cleaner, tv cleaner, smart tv screen cleaner, and more
- Premium Super Soft Plush Microfiber Cloth - Included in this efficient screen cleaning kit. This screen cleaner spray and wipe has our signature plush microfiber cloth specially designed to comply with screens and monitors and leave them streak-free. Has been shown to effectively absorbs stubborn stains, zero streaks, and no fiber shedding. Always use this together with our screen cleaner for the best results
- Easy-to-Use Screen Cleaner Kit + microfiber cleaning cloth - The EVEO Screen Cleaning Kit will easily be your new favorite tool when it comes to taking care of the things you love most, quick and easy solution for a streak-free screen. Simply screw on the sprayer gun on the screen cleaner bottle. Spray the cleaning liquid onto the microfiber cloth, then wipe the screen until desired cleanliness & shine is achieved.
- Quality Screen Care Kit Worth Purchasing - Enjoy a convenient Screen Cleaner anytime, anywhere you need it. Your satisfaction is our top priority. We stand behind the quality of our products and that’s why, you shouldn’t be worrying at all. We manufacture the Best Screen Cleaner. and can be used for laptop cleaning kit, laptop screen cleaner, tv screen cleaner for smart tv. MacBook screen cleaner, monitor cleaner or screen cleaner spray for electronic devices with microfiber cleaning cloth
Do not confuse this setting with application security
Disabling allow_url_fopen does not make unsafe plugin code safe, validate user input, or block every way an application can make an outbound request. Conversely, enabling it does not create a vulnerability by itself; the risk depends on how application code handles user-controlled URLs and remote data. Keep plugins updated, validate destinations, and follow your host’s security policy.
Check prerequisites before changing PHP
- Identify the failing feature. Record the plugin, task, URL type, and exact error. A component that needs cURL, DNS resolution, a valid TLS certificate, or outbound firewall access may continue to fail after this directive is enabled.
- Find the web PHP version. WordPress may run on PHP 8.x while your shell uses a different command-line version. Check the domain’s PHP assignment in your hosting panel rather than assuming the CLI version is authoritative.
- Determine the runtime. Note whether the domain uses PHP-FPM, Apache/FastCGI, LiteSpeed, or another handler. Each can read a different configuration or pool.
- Back up configuration. Save the existing PHP or pool settings and note the original value so you can restore it quickly.
- Plan a verification test. Have a controlled WordPress action ready, such as the plugin’s connection test or a small import, and be prepared to inspect PHP and web-server logs.
Enable or disable it in cPanel and WHM
The exact controls depend on your privileges and the server’s PHP handler. A reseller or ordinary cPanel account may not see any of the administrator menus below.
WHM MultiPHP INI Editor: change a PHP version globally
- Sign in to WHM with permission to manage PHP configuration.
- Open Home → Software → MultiPHP INI Editor.
- Select the PHP version used by the affected domain. The setting is associated with that version, not with WordPress itself.
- In the editor, set
allow_url_fopen = Onto enable URL-aware streams, orallow_url_fopen = Offto disable them. - Save the configuration, then confirm that the domain still uses the selected PHP version.
This route changes the system configuration for accounts using that PHP version. It can therefore affect several domains at once. Use it only when that scope is intended, and tell site owners about the compatibility impact before switching a shared version.
PHP-FPM: change the domain’s pool setting
- In WHM, open Home → Software → MultiPHP Manager.
- Locate the domain and open its PHP-FPM settings.
- Change Treat URLs as files (allow_url_fopen) to the required state.
- Save the pool configuration and allow the PHP-FPM service or panel automation to apply it.
- Retest the WordPress operation from the browser, not only from a shell.
For administrators editing a PHP-FPM pool directly, cPanel documents the directive form php_admin_flag[allow_url_fopen] = on. Use off for the disabled state. The pool value must be applied to the pool serving the domain; changing a different pool will not alter WordPress.
suPHP or a domain-level system configuration
On a suPHP-based stack, cPanel describes using suPHP_ConfigPath and a system-recognized copy of php.ini. The path and permitted locations depend on the server’s Apache and suPHP configuration. An administrator should place the directive in that recognized file, save it, and then verify the web runtime. Creating an arbitrary php.ini in the document root is not enough if the handler does not read it.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Rank #3
- 【Large size】:Measuring 800 x 300 mm/ 31. 5×12 inches, which is wider and taller than others. Large mouse pad can perfectly fit your keyboard and mouse of any size, and there is also ample space for peripherals such as phones, tablets, etc.
- 【LED backlight mouse pad】:Blade Hawks RGB mouse pad provides 7 static modes and 7 dynamic modes will give you the options you are looking for. Power-off memory function remembers the last lighting mode you selected. The super glow fiber Chroma will give you a colorful gaming setup that you want.
- 【Anti-slip rubber base】:Made from Natural rubber, this gaming mousepad will firmly grip your desktop, allowing you to enjoy the ultimate precision in the games you are most passionate about. It also comes with a texture that enhances this ability even further.
- 【Smooth and waterproof surface】: Micro-textured cloth surface, for extremely precise mouse control and a smooth movement. When liquid splashes on the gaming mouse pad, it forms water droplets and slides down. Will not delay your work or gameplay.
- 【Plug and play】: This mouse and keyboard pad is powered by USB, plug and play, no driver required. One button control light modes. Press one time to change the lighting mode, press twice to change the brightness, press and hold about 3 seconds turn ON/OFF.
LiteSpeed
LiteSpeed installations can apply PHP settings differently from Apache or PHP-FPM. Follow the host’s LiteSpeed-specific method and confirm which configuration file the selected PHP handler reads. A value entered in a non-system user-ini file may be ignored, so do not assume that a file-level change took effect just because it saved successfully.
Changing the value off
Use the same route that enabled the directive and change only the value: On to enable or Off to disable. If the value was set globally for a PHP version, disabling it affects every account using that version. If it was set in one PHP-FPM pool, the effect is limited to that pool. After saving, verify the effective web value and run the feature that prompted the change.
Which configuration route should you choose?
| Route | Typical scope | Best use | Main caution |
|---|---|---|---|
| WHM MultiPHP INI Editor | All accounts using one PHP version | A server-wide policy for that version | Can change unrelated domains |
| PHP-FPM domain or pool setting | One domain or pool | Least broad change on a PHP-FPM server | Must edit the pool that actually serves WordPress |
suPHP with recognized php.ini |
Depends on the configured suPHP path | Hosts that explicitly support domain-level suPHP configuration | An unrecognized file is silently ignored |
| LiteSpeed-specific configuration | Depends on the LiteSpeed handler and host policy | LiteSpeed servers with an administrator-approved method | User-level ini files may not override system settings |
Choose the narrowest scope that satisfies the application, provided your host supports it. Compare the runtime, persistence, and security implications rather than choosing a menu solely because it is visible.
If you have only a regular cPanel account
Many shared hosts do not allow customers to change an INI_SYSTEM directive. You may see a MultiPHP interface without permission to edit this particular option, or you may be limited to settings that the host exposes through a PHP selector.
Free tools Windows power users keep installed
One-click scans. No signup required.
Contact support with the domain name, the PHP version, the runtime if known, and the exact requested state. A useful request is: “Please confirm whether allow_url_fopen is enabled for the web PHP runtime and PHP-FPM pool serving example.com. If it is disabled, can you enable it for that domain or explain the supported alternative?” Do not send passwords or paste private API responses into a support ticket.
Rank #4
- 【Softer and More Comfortable】Vaydeer wrist rest has unique diamond pattern, which is the combination of softness and aesthetics. The materials of wrist rest are improved into higher quality memory foam and covered with silky smooth lycra. The computer wrist rest makes you as comfortable and cushiony as like rest your wrists on clouds.
- 【Ergonomic Wrist Saver】The wrist rests for keyboard and mouse comes with a 17.32×3.15×0.83 inch keyboard wrist pad and a 5.94×3.15×0.83 inch mouse wrist support. Based on ergonomic design, the unique concave shape is the perfect fit for your wrist joints. The wrist rest pad fits most computer keyboards and laptops, improve hand and wrist posture, release your wrist and arm stress.
- 【Non-Slip Rubber Bottom】Featuring an anti-skid silicone base on the bottom, this wrist keyboard support stays firmly in place on your desk, preventing the padding from sliding around, ensuring stable and consistent wrist support during extended computer sessions.
- 【Better Experience & Pain Relief】Our keyboard arm rest is beneficial to alleviate the soreness caused by direct contact and friction between your arm and a hard desk surface, reducing the risk of wrist fatigue or carpal tunnel. The soft texture of memory foam can evenly distribute the pressure around your wrists and provide good support with just enough give.
- 【Helpful in Multiple Scenarios】Whether you're working, studying, writing, typing, gaming, this keyboard and mouse rest combo is an essential accessory to add comfort and support to your hands and wrists. It’s also a great gift for men, women, family, friend, coworker, gamer, teacher, etc.
Ask the host whether enabling the directive is permitted under its security policy and whether a domain-level PHP-FPM setting is available. If the provider will not enable it, ask the plugin vendor whether it supports cURL or another transport that the host permits. Do not move the site to a different PHP version just to obtain this option without checking compatibility first.
Verify the value in the same runtime as WordPress
Configuration scope is the most common source of false diagnoses. CLI PHP, Apache or FastCGI, LiteSpeed, and separate PHP-FPM pools can load different ini files. A terminal command that reports On does not prove that the browser request serving WordPress also reports On.
- Create a temporary file outside public access if your host provides a diagnostic tool. If a web-accessible check is unavoidable, create a file such as
php-status.phpcontaining<?php phpinfo(); ?>. - Open the file through the affected domain and locate Server API, Loaded Configuration File, and allow_url_fopen. Record the local and master values shown by the web request.
- Confirm that the displayed PHP version and Server API match the domain and pool you changed. If they do not, correct the configuration in the runtime that WordPress actually uses.
- Delete the diagnostic file immediately after checking. A phpinfo page exposes paths, modules, environment variables, and other details useful to attackers.
- Run the plugin’s original test again and review PHP or web-server logs for a new warning. A successful setting check does not prove that the remote endpoint is reachable.
Where your host supplies an equivalent diagnostic page, use it instead of publishing your own. The important requirement is that the check executes as a web request under the same PHP handler as WordPress.
The Tool Desk
Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Troubleshoot a plugin that still says it is disabled
The browser check says Off, but CLI PHP says On
This indicates different configuration scopes or PHP versions. Use the web diagnostic’s Server API and Loaded Configuration File fields, then change the matching PHP-FPM pool, Apache/FastCGI configuration, or LiteSpeed handler. Do not keep changing the CLI php.ini; it is not the runtime producing the WordPress response.
The panel shows On, but the web check says Off
The panel may have edited a different PHP version, a different account, or a configuration file that the handler does not read. Check the domain’s assigned version, pool, and loaded file. On managed hosting, the provider may also overwrite unsupported user-level values.
Best Value
- 【No Drill Mounted】Cable management tray can be assembled in as little as 3 minutes or less-simply. Side clips easily clampe the edge of desk, pass through the holes on the sides, and secure excess cables with baskets. Desk cable management supports inward or outward installation to meet your needs in different scenarios, and provides you with great convenience when collecting and organizing wires.
- 【Rubber Pad Protects Desk】Wire organizer under desk built-in soft rubber pads on the clamp protect your desk from scratches, so you will not damage your furniture or office.
- 【Sturdy and Beautiful】Cord management under desk is made of high-quality carbon steel and holds about 15 lbs. The wire basket has 2 holes on each side of the tray to enable your cables to pass freely. Cable baskets are suitable for desk thickness use from 0.4" to 2.4".
- 【Space Saving & Keep Organized】Desk cable management tray holds all your power cords, outlet strips, USB hubs and computer transformers hidden from your feet, and the data cables will not enter the vacuum cleaner to keep your desk clean and tidy. Desk wire organizer is also suitable for use in the kitchen and outdoors.
- 【Reduce Safety Risks】Cable tray under desk keeps all plugs away from your kids, no more worry about tripping. Using 2 holes wire tray saves extra space, helps you easily cabling and wire protection. The mesh design is not easy to accumulate dust, but avoids safety accidents caused by messy wires.
The setting is On, but the request still fails
Read the PHP warning and the plugin log. The application may be using cURL rather than stream wrappers, require the OpenSSL extension, reject the remote certificate, fail DNS resolution, or be blocked by an outbound firewall. A remote server can also return an error, redirect, or authentication challenge. Fix the specific dependency instead of enabling unrelated directives.
The plugin asks for allow_url_include
Stop and verify the requirement with the vendor. URL inclusion is separate from URL-aware file streams and carries a more serious remote-code-loading risk. Do not enable it merely because a generic checklist mentions both directives. If the plugin genuinely requires remote inclusion, evaluate whether replacing it is safer than relaxing the server policy.
The value keeps reverting
A hosting template, PHP version change, pool rebuild, or security policy may be restoring the administrator’s value. Save the error details and ask the host which configuration layer has precedence and whether a persistent per-domain setting is supported.
Security practices after enabling it
- Enable the directive only for a documented application need and limit the scope to the affected PHP version or pool when possible.
- Keep
allow_url_includedisabled unless a separately reviewed application requirement proves otherwise. - Update WordPress, plugins, themes, and PHP within their supported compatibility ranges.
- Ensure code never passes unvalidated user input directly to a file-opening function. Use allowlists for hosts, schemes, and paths where remote requests are expected.
- Prefer HTTPS endpoints controlled by a trusted service, validate certificates, and handle redirects deliberately.
- Monitor logs after the change and remove the setting if the feature no longer needs it.
These measures reduce exposure but do not replace code review, input validation, least-privilege hosting, or a web-application firewall where appropriate.
Quick Recap
Quick reference
- Enable: set
allow_url_fopen = Onin the system configuration or the correct PHP-FPM pool. - Disable: set
allow_url_fopen = Offin that same configuration layer. - cPanel administrator path: WHM → Software → MultiPHP INI Editor, then select the PHP version.
- PHP-FPM path: WHM → Software → MultiPHP Manager → domain’s PHP-FPM settings → Treat URLs as files.
- Verify: inspect the value through a temporary web-runtime diagnostic, then delete it and retest the original WordPress feature.
- No WHM access: ask the host to change the directive for the web PHP version and pool serving the site.
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

