Page 1 of 1
Directories could not be created / not writable
Posted: Mon Aug 02, 2010 9:22 pm
by nixanwin
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
Re: Directories could not be created / not writable
Posted: Tue Aug 03, 2010 7:09 am
by Thorsten
Hi,
the directories have to writable for the webserver.
bye
Thorsten
Re: Directories could not be created / not writable
Posted: Mon Mar 07, 2016 4:17 pm
by slithyToves
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).
---------------------------------------------------------------------------------
Re: Directories could not be created / not writable
Posted: Mon Mar 07, 2016 4:30 pm
by slithyToves
Problem solved. I disabled SELINUX and now the setup page is showing.
Re: Directories could not be created / not writable
Posted: Mon Mar 07, 2016 5:54 pm
by Thorsten
Hi,
thanks for the feedback!
bye
Thorsten
Re: Directories could not be created / not writable
Posted: Sun Nov 13, 2016 5:25 am
by nsdb
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.
Re: Directories could not be created / not writable
Posted: Sat Jun 30, 2018 7:27 am
by PeteHanley
Selinux is disabled on my server and I tried manually setting to 755 and still no luck. I'm attempting a clean install of 3.0.0 and having this issue.
I then realized that the group was 501 and user was game for the files that phpmyfaq installed...very odd. Once I made the Group and User the same for the folders I created manually and the ones I was able to get in.