i cant install themes in wordpress

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.


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

sorry no restart the server: <br>And don’t forget restart the server i lost hours for this XD <br> <br>only the service vsftpd

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

I did this <br> <br>sudo rpm -Uvh <br> <br>Install the php-ssh2 module: <br>sudo yum install php-pecl-ssh2 <br> <br>Reload Apache: <br>sudo service httpd reload <br> <br>Changing the ownership of the folder /var/www/html with this command: <br> <br>sudo chown -R YOURUSER:YOURUSER /var/www/html <br> <br>and fix the problem with ssh2 but i cant acces trought ftp XD <br> <br>I only accees to the home directory of the user <br> <br>thanks