By aleemkhan
I am trying to check the apache logs and this is what i have gathered ::-
[Wed Nov 08 09:06:25.792086 2017] [:error] [pid 11744] [client 82.193.159.6:53218] PHP Warning: mkdir(): Permission denied in /var/www/html/wp-content/plugins/Akismet3/Akismet3.php(35) : runtime-created function on line 49, referer: http://www.desertadventures.com/contact/faq/
i have ported the website from shared hosting to digital ocean droplet by reading the documentation provided on your tutorial.
I have to restart the droplet everytime to bring the site live.
Any leads will be appreciated.
Regards, Rajiv
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!
It is odd that the error goes away with a restart but it looks like a pretty straightforward permissions error. This likely means that your web files are not owned by the user account used by the web server but rather are still owned by the user account used to upload them. You can correct this with:
chown -Rf www-data:www-data /var/www/html
This is assuming that you are using the default web root for your WordPress installation.
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.