Quick wins for a faster PC:
Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Clear out junk files and repair common Windows errorsFree Scan →WordPress asks for FTP credentials when the PHP process cannot safely read, write, modify, or delete the files needed for an update or installation. Your administrator role is not the issue: dashboard permissions and server-file permissions are separate. The durable fix is to correct ownership and write access for the WordPress files. If the host deliberately blocks direct PHP writes, use the host-supported SSH2, FTPS, FTP-extension, or FTP-sockets method instead. Add FS_METHOD only for a specific, understood configuration problem—not as a universal bypass.
Antihost offers managed WordPress hosting with free migration, one-click staging and a 14-day free trial.
Why WordPress asks for FTP credentials
When you install a plugin, update a theme, apply a core update, or save a rewrite rule, WordPress must write to the server. Its request_filesystem_credentials() function displays a connection form when WordPress cannot obtain a usable filesystem method for that operation. Being a WordPress administrator authorizes actions inside the dashboard; it does not give PHP permission to change operating-system files.
As an Amazon Associate I earn from qualifying purchases.
WordPress evaluates the requested path and chooses a filesystem transport through get_filesystem_method(). The available methods are direct, ssh2, ftpext, and ftpsockets. If PHP cannot write directly because the files belong to another account, a parent directory is not writable, or the host disables direct writes, WordPress switches to a transport that needs separate server credentials.
First identify what triggers the prompt
Record the exact action before changing anything. The affected path often reveals the fault.
#1 Best Overall
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
- Core update: WordPress needs to write to the installation root and its update directories.
- Plugin or theme installation/update: WordPress must write to
wp-contentand the relevant plugin or theme directory, and usually to a temporary update directory. - Permalink save: WordPress may be trying to update the server’s
.htaccessfile. A working plugin directory does not prove that the document root is writable. - Every filesystem operation: A broad ownership, PHP-user, or hosting-policy mismatch is more likely than a single bad directory.
Keep the exact error text. A prompt that accepts credentials but later reports that a directory cannot be created points to a different path or permission problem than a prompt that appears before any connection test.
Back up before changing access
Make a database and file backup, and save a copy of wp-config.php before changing ownership, modes, or filesystem constants. Include the WordPress root, wp-content, and any custom content or upload directories. If an ownership change makes the site inaccessible, the backup gives you a way to restore the configuration while the host corrects the server account.
Do not paste a password into a support ticket or leave broad write permissions in place simply to finish one update. The objective is a least-privilege configuration that remains writable by the intended web-server process.
The durable fix: make the writing process the owner or an authorized group
Find which account runs PHP
The account that executes PHP—often a web-server or PHP-FPM account—must be able to write the directories WordPress uses. On shared hosting, that account may be your hosting user; on a managed server, it may be a service account. Ask the host which account runs PHP if you cannot determine it from the control panel. Do not assume that your shell or FTP username is the same account.
Inspect the complete path
Check ownership and write access for the WordPress root, wp-content, plugin and theme directories, and the update directory. A writable child directory can still fail when its parent blocks traversal or creation. Symlinked plugin, theme, or content directories must be checked at their real target as well as at the visible path.
On a Unix-like server, an administrator can inspect the paths from the WordPress root with:
Recommended Free Tools
Rank #2
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
ls -ld . wp-content wp-content/plugins wp-content/themes wp-content/upgrade
ls -la wp-config.php .htaccess
The listing should identify the owner and group and show whether the relevant account or group has the required access. If you do not have shell access, use the host’s file manager or ask support to provide the same ownership information.
Correct ownership through the host
Set the owner, or the group with write access, to the account that actually runs PHP. The WordPress administration handbook describes the rule plainly: when WordPress runs as the FTP account, that account must own the files or belong to a group that can write them. On a server using a separate PHP service account, the corresponding service account or a deliberately configured shared group must have access instead.
Do not run a recursive ownership command copied from another server without confirming the correct account and the boundaries of the installation. A wrong owner can prevent both the site and your normal file-transfer login from working. If the account cannot change ownership, only the host can repair it.
Use restrictive modes, not a blanket writable tree
A WordPress support case reported success with directories at 755 and files at 644. Those numbers are a common baseline, not a universal requirement: the correct mode depends on the owner, group, PHP handler, and hosting isolation. Ownership and least privilege control the decision.
The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →- Directories need execute permission to be traversed and write permission wherever WordPress must create, remove, or rename files.
- Files need write permission only where an update must replace them; configuration and other sensitive files should not be made broadly writable.
- Never use
777as a permanent solution. It allows every local account covered by the mode to write and can turn a separate vulnerability into a site-wide compromise.
Check for a forced filesystem method
Open wp-config.php and look for an existing FS_METHOD definition. WordPress documents four valid values:
| Value | What it selects | When it fits |
|---|---|---|
direct |
PHP reads and writes files itself | PHP genuinely has safe write access to the installation |
ssh2 |
SSH-based file transfer, commonly SFTP | The host provides SSH access and the required PHP support |
ftpext |
The PHP FTP extension | The host enables that extension and supplies FTP or FTPS access |
ftpsockets |
WordPress’s socket-based FTP path | The host supports this fallback when the FTP extension is unavailable |
FS_METHOD forces the filesystem method. A stale or incorrect definition can make WordPress request credentials even after ownership has been repaired, or can force direct writes where they are unsafe. If the constant was added during an earlier troubleshooting attempt, remove it temporarily and test the operation without an override. Keep a backup of the file so you can restore the previous state.
Rank #3
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
When and how to use FS_METHOD = direct
Use a direct override only when you have verified that PHP can safely write the required paths and that the server’s isolation model makes those writes appropriate. Add the line in wp-config.php before the file’s final stop-editing instruction:
define( 'FS_METHOD', 'direct' );
Then retry one update. If the prompt disappears and the update completes, inspect the changed files and remove the override if normal method detection now works. If the update fails, produces a permission error, or creates files owned by an unexpected account, remove the line and fix ownership instead.
Do these 3 things before closing this tab:
1Clear out junk files and repair common Windows errors2Scan for outdated or missing drivers - takes under a minute3Repair Windows errors before they cause bigger problemsForcing direct can create a security problem on a poorly configured host because it gives the PHP process a direct path to modify files. It does not grant missing privileges, repair a read-only filesystem, or bypass a hosting policy. WordPress recommends changing the constant only while addressing an update problem and reverting it when it does not help.
Use the host-supported transport when direct writes are intentionally unavailable
Some hosts prevent PHP from writing files directly. In that case, an FTP prompt is expected behavior rather than evidence that your dashboard account is broken. Obtain the connection details from the host, including the exact hostname, port, username, and authentication method. The host may require plain FTP, encrypted FTPS, or SSH/SFTP; do not guess between them.
- Confirm with the host which of
ssh2,ftpext, orftpsocketsis supported for this account. - Enter the supplied hostname, port, username, and authentication details in the WordPress filesystem form. Use the host’s required key or password method.
- Run one update or installation and watch for the first path-specific error.
- If the connection succeeds but file creation fails, stop retrying and have the host check ownership and the target directory rather than repeatedly changing credentials.
An FTP, FTPS, or SFTP client can be useful for larger or repeatable file-management tasks, but transferring files manually does not correct ownership. After a manual upload, verify that the resulting files are owned and readable by the account that will serve them.
Account for custom paths and symlinks
Standard layouts usually let WordPress derive its directories. Symlinked or nonstandard installations may need the path constants FTP_BASE, FTP_CONTENT_DIR, and FTP_PLUGIN_DIR. These values must point to the paths as seen by the selected transfer method, not merely to the browser URL or a different server mount.
Free tools Windows power users keep installed
One-click scans. No signup required.
Rank #4
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
If a prompt persists only for a symlinked plugin or theme, ask the host to verify the real target, the permissions on every parent directory, and whether the FTP account is allowed to follow the link. Do not replace a path with a guessed absolute directory: an incorrect constant can make WordPress connect successfully and then write to the wrong location.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Why changing permissions may not stop the prompt
The owner is still wrong
Changing a mode from 644 to 664 does not help if PHP is neither the owner nor a member of the writable group. Correct the ownership or group assignment first.
A parent or temporary directory blocks the operation
Plugin updates commonly use a temporary directory before replacing the final plugin. Check wp-content, the plugin or theme directory, and the update directory as a chain. For a permalink change, inspect the document root and .htaccess rather than only wp-content.
The PHP account differs between requests
Some hosting configurations run web requests under one account and scheduled or command-line tasks under another. Files created by one account can later become unwritable to the other. Ask the host to use a consistent account or a shared group with controlled permissions.
The server or filesystem is read-only
A read-only mount, security policy, disk quota, or host-level restriction cannot be fixed from the WordPress dashboard. The host must confirm that the filesystem is writable and that the account is allowed to change the requested path.
An override keeps selecting the wrong method
Review wp-config.php after every test. Remove an obsolete FS_METHOD definition and any incorrect FTP path constants, then let WordPress detect the method again.
Best Value
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
The credentials are valid but point at a different root
FTP accounts often open in a directory that is not the WordPress root. A successful login followed by missing-file or permission errors usually means the base path, content path, or plugin path needs correction. Have the host confirm the account’s starting directory and the values required by WordPress.
A practical troubleshooting sequence
- Reproduce one operation. Note whether it is a core update, plugin or theme action, or permalink save, and copy the exact error.
- Back up the site and
wp-config.php. Keep the backup outside the web root when possible. - Inspect ownership and access. Check the root,
wp-content, plugins, themes, update directory, and any.htaccesstarget. - Ask who runs PHP. Align the owner or writable group with that account; do not guess or apply a recursive change across unrelated sites.
- Correct only the needed modes. Use the host’s least-privilege baseline; treat
755directories and644files as a starting reference, not a guarantee. - Review configuration overrides. Remove an unnecessary
FS_METHODline and incorrect FTP path constants. - Test without forcing a transport. If direct access is genuinely safe and available, let WordPress detect it.
- Configure the supported transport if necessary. Use the host-provided SSH2, FTPS, FTP-extension, or FTP-sockets details, including the correct root path.
- Retry exactly one update. Inspect the first failing path instead of making broader permission changes.
- Escalate with useful evidence. Give the host the operation, path, ownership listing, PHP account, selected method, and exact error. Request an ownership or server-policy repair when your account cannot perform it.
Choose the remedy that matches the cause
| Remedy | Corrects ownership? | Security and operational trade-off | Best fit |
|---|---|---|---|
| Repair owner or writable group | Yes | Least-privilege solution when configured for the actual PHP account | Most installations with an account mismatch |
| Use normal direct detection | No; it relies on existing access | Safe only when PHP’s write boundary is already appropriate | Hosts that permit direct PHP writes |
Force FS_METHOD to direct |
No | Can expose files on poorly isolated hosts; must be reviewed and usually reverted | A verified direct-write setup with a method-detection problem |
| Use SSH2, FTPS, FTP-extension, or FTP-sockets | No | Adds a credentialed transfer path but respects hosts that block direct writes | Hosts that require an external filesystem transport |
| Set FTP path constants | No | Helpful for custom layouts; a wrong path can target the wrong directory | Symlinked or nonstandard installations |
What to do if the site breaks after a change
If the dashboard becomes inaccessible after editing wp-config.php, use the host file manager or your normal file-transfer method to restore the backup and remove the last FS_METHOD or path-constant change. If files were assigned to the wrong owner, ask the host to restore the site account’s ownership rather than compensating with open permissions. Once the site loads, test a single update and preserve the exact error if the prompt returns.
When the account cannot change ownership, the correct escalation is managed WordPress hosting support or a technician who can inspect the PHP service account, filesystem mount, quotas, and security policy. Supplying the exact failing path lets support fix the server configuration without granting unnecessary access.
Frequently misunderstood points
Does an FTP prompt mean my administrator account was hacked?
No. The prompt normally indicates a filesystem-access mismatch. It is about how the server process can modify files, not about the capabilities assigned to your WordPress user.
Will deleting and reinstalling the plugin fix it?
Not if the same directory remains owned by the wrong account or the host still blocks direct writes. Reinstallation can also remove settings or content, so fix the access path first.
Should I leave the direct override permanently?
Only if the host has verified that direct PHP writes are safe and intentional. Otherwise remove it and use correct ownership or the host-supported transport.
Outdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchWindows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallWhy does the problem return after an update?
Updates can create files under a different service account, or the host can regenerate directories with restrictive ownership. Compare the owner and group of the newly created files with the account that performs the next update, then have the host make the account or group consistent.
Bottom line
Fix the server relationship first: the PHP process must own the WordPress files or belong to a group with write access to the paths it needs. Use restrictive, environment-appropriate permissions, remove stale filesystem overrides, and reserve FS_METHOD = direct for a verified safe setup. When the host intentionally disallows direct writes, enter the host’s exact SSH2, FTPS, FTP-extension, or FTP-sockets details and correct any custom paths instead of weakening permissions.
Quick Recap
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.




