How do I update WordPress in FreeBSD without using ftp? Thanks for your help.
Riccardo
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
A simple method is to use WordPress to upgrade WordPress
Follow this guide to do so.
If it gives an error, or asks for FTP credentials, run this via SSH (changing the document root to the one you actually use:
doc_root='/usr/local/www/'
web_user=$(sockstat -l4p80|tail -1|awk '{print $1}')
chown -R ${web_user}:${web_user} $doc_root
This should set your permissions correctly. If you get no errors, you can then go back to the WordPress page, and refresh it to see if it allows you to upgrade without FTP.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.