Directories could not be created / not writable

All about webserver configurations, PHP and databases.

Moderator: Thorsten

Post Reply
nixanwin
Posts: 11
Joined: Mon Aug 02, 2010 9:14 pm

Directories could not be created / not writable

Post by nixanwin » Mon Aug 02, 2010 9:22 pm

Hi I am new to phpMyFaq and fairly new to linux. I have a web server (web01) that has php, php-mysql, apache, and phpmyfaq installed. A second server has MySQL installed (db01). When I run the install/setup.php from the browser, I get the following error:

The following directory/-ies could not be created or are not writable:
/attachments
/config
/data


I do not see those directories in /faq so I created them, but the error still persists. What am I doing wrong? Thanks

Thorsten
Posts: 14434
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Directories could not be created / not writable

Post by Thorsten » Tue Aug 03, 2010 7:09 am

Hi,

the directories have to writable for the webserver.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

slithyToves
Posts: 3
Joined: Mon Mar 07, 2016 4:14 pm

Re: Directories could not be created / not writable

Post by slithyToves » Mon Mar 07, 2016 4:17 pm

I have the same problem and I did a chmod -R 777 on those directories as well as all files under the main folder. I restarted apache but same thing.


error message:
---------------------------------------------------------------------------------
phpMyFAQ 2.8.26 Setup
Did you already read the documentation carefully before starting the phpMyFAQ setup? :-)

The following directories could not be created or are not writable:

/attachments
/config
/data
/images
Please create them manually and/or change access to chmod 775 (or greater if necessary).
---------------------------------------------------------------------------------

slithyToves
Posts: 3
Joined: Mon Mar 07, 2016 4:14 pm

Re: Directories could not be created / not writable

Post by slithyToves » Mon Mar 07, 2016 4:30 pm

Problem solved. I disabled SELINUX and now the setup page is showing.

Thorsten
Posts: 14434
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Directories could not be created / not writable

Post by Thorsten » Mon Mar 07, 2016 5:54 pm

Hi,

thanks for the feedback!

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist

nsdb
Posts: 1
Joined: Sun Nov 13, 2016 5:23 am

Re: Directories could not be created / not writable

Post by nsdb » Sun Nov 13, 2016 5:25 am

I have disabled SELINUX, and still no love.

Any further ideas?

PS. I have also run chomd -R 777 on the entire directory.

PPS. the exact message i see is as follows:
The following directories could not be created or are not writable:

/attachments
/data
/images

Please create them manually and/or change access to chmod 775 (or greater if necessary).
PPPS. I am running phpMyFAQ 2.9.5 on CentOS 6x w/ PHP Version 5.5.38

thank you in advance for any further guidance.

SOLVED (fyi):

I had to create those three directories myself, and then run chmod 775 on those directories. (Now I see the db interface.)

Cheers. Thanks for a great platform.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest