By webesdinero
I follow all the steps for an installation of wordpress in Centos 6
all works fine but i cant install themes because wordpress not have the permissions
i cant upload themes using the upload function of wordpress:
Unable to create directory wp-content/uploads/2013/07. Is its parent directory writable by the server?
this is the message and i upload the theme from ftp but i cant see the theme in my wordpress desktop
i have a shared hosting and i upload the theme all work in these shared hosting.
thanks
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!
for gain acces to the /var/www/html folder <br> <br>sudo nano /etc/vsftpd/vsftpd.conf <br> <br>change the chroot_local_user to NO and enter the values at the end of file: <br>local_root=/var/www/html <br>file_open_mode=0755 <br>chmod_enable=YES <br> <br>And don’t forget restart the server i lost hours for this XD <br> <br>sudo service vsftpd restart <br> <br>i dont know this sentences <br> <br>file_open_mode=0755 <br>chmod_enable=YES <br> <br>is for privileges for chmod right? <br> <br>thanks
Make sure the wp-content/uploads folder and its contents are owned by the web server’s service account, which if you’re using Apache would be ‘apache’. <br> <br>To ensure this, SSH into the server to your web root, and issue this command: <br> <br>chown -R apache:apache wp-content/uploads <br> <br>This will change the owner and owner group of all files and folders in wp-content/uploads (including the uploads folder) and should let you upload files through the WP admin. <br> <br>You may be able to change permissions in your FTP client as well.
It’s clearly stated. Has the user, who started the webserver rights to write to the folder /wp-content?
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.