I know this is a popular question. I am getting the following error when I browse to http://[my server]/faq/phpmyfaq:
I'm using Ubuntu server 16.04, phpmyfaq 2.9.2, LAMP with PHP 7.0 and apache 2.4.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).
I transferred my phpmyfaq directory into /var/www/faq. I created new directories as such:
Code: Select all
sudo mkdir ./attachments
sudo mkdir ./data
sudo mkdir ./images
sudo mkdir ./config
Code: Select all
sudo chown -R www-data:www-data /var/www/faq
sudo chmod -R 777 /var/www/faq
Using ls -l I've confirmed that everything under and including faq has 777 permissions and is owned by www-data.
I also changed the ownership of www:
Code: Select all
sudo chown -R www-data:www-data /var/www
I've restarted apache2.
I've tried deleting everything under faq and put phpmyfaq back in there, repeating the above steps.
Is there anything else I could try that might work? Let me know if you need more information.
Thank you,