Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

filesystem

File ownership for file tree php user ID – Folder permission 775

If, on your wp-content/uploads directory, 755 doesn’t work, but 775 does it means that the group example.com already contains the ‘php user id’, so you don’t need to do anything else. More specifically, the web server process (like apache or nginx) both serves your files and runs PHP, so ‘php user id’ really means (is … Read more

Categories filesystem Tags filesystem

temphangle variable missing when using wp_filesystem copy

It appears to be a typo corrected by SergeyBiryukov in the Github Repo for 5.6 : https://github.com/WordPress/WordPress/commit/a5edb2a8a15697440dff359fac53c27dd2067db3

Categories filesystem Tags filesystem, filesystem-api, wp-filesystem

Serve contents from Nextcloud / WebDAV

Serve contents from Nextcloud / WebDAV

Categories filesystem Tags filesystem

Save media files (images) to database instead of the filesystem

Save media files (images) to database instead of the filesystem

Categories images Tags database, filesystem, images, uploads

How to prevent users to view server files using WP File Manager plugin?

How to prevent users to view server files using WP File Manager plugin?

Categories plugins Tags file-manager, filesystem, plugins, server, wp-filesystem

WordPress installation on digitalocean eating the server storage

WordPress installation on digitalocean eating the server storage

Categories filesystem Tags filesystem, vps

Uploaded images result in a file url with full path on disk appended

Uploaded images result in a file url with full path on disk appended

Categories uploads Tags filesystem, media, media-library, uploads, urls

Page to show a link to every file in an directory

You may use this plugins else you can even create a page with all pdf link to download it. Google Sitemap Generator Sitetree

Categories links Tags filesystem, links

Generating and downloading files with WP API

Plugins that load the WordPress environment this way get rejected from the repository, as they are prone to failure in non-standard configurations. For something like this I would use the admin-post-$action to receive requests. The WordPress API will be available where you can check if users are authorized to perform specific actions.

Categories custom-post-types Tags custom-field, custom-post-types, filesystem, plugin-development

Correct file permissions for in-browser updates using WP-CLI

WordPress can’t write files directly most probably because user which runs PHP interpreter don’t have permission to write. Correct answer depends on what is your environment – if you are on shared hosting probably you can’t do anything about it and the only option is to set FTP credentials on wp-config.php so you won’t need … Read more

Categories filesystem Tags filesystem, wp-cli
Older posts
Newer posts
← Previous Page1 … Page4 Page5 Page6 … Page14 Next →
+ More

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
Next Page »
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress