I’ve been trying to set up a little WordPress test workspace using Codenvy.io, just to learn, and I managed to install WordPress and get it running despite Codenvy (Or my ignorance) presenting quite some difficulties and problems, having the site running I tried to install plugins and themes and it asked my for my host name, after skipping this by using this code to set the permissions to 777 in my wp-config.php file:

define( 'FS_METHOD', 'direct' );
define( 'FS_CHMOD_DIR', 0777 );
define( 'FS_CHMOD_FILE', 0777 );

I still get an error message that says “Installation failed: Could not create directory.”

Read more here: WordPress – Installation failed: Could not create directory


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: