alain.roger Posted April 29, 2013 Share Posted April 29, 2013 Hi, i've just finished to install a brand new webserver based on Fedora 18/apache 2.4.4/MySQL 5.5.30/openssl 1.0.1e and PHP 5.4.14. during installation of Prestashop 1.5.4 i got the following error screen so for testing purpose i set all files and folders to 0777 but nothing changed, then i change user:group to apache...but once again nothing changed. any idea where could be located the problem ? thx. Alain Link to comment Share on other sites More sharing options...
benjamin utterback Posted April 29, 2013 Share Posted April 29, 2013 Hi Alain, it seems like a server configuration error. You can try 755 as well, but 777 should definitely work. Link to comment Share on other sites More sharing options...
alain.roger Posted April 29, 2013 Author Share Posted April 29, 2013 Unfortunatelly no... i already tried it. usually i use 644 for files and 705 for folders but here i don't know what's wrong. Link to comment Share on other sites More sharing options...
alain.roger Posted April 30, 2013 Author Share Posted April 30, 2013 Ok, so for those who have the same issue, i have a solution. in fact the problem is located at 2 places. 1. on some Linux web server, owner of web site (files/folders) should be apache. so as a group and user >> chown -R apache:apache 2. on some linux server like Fedora SELinux Alert Browser also play a role and to allow apache to perform some actions read/write, change permissions etc... you need to allow them. so to check what is needed to do on "httpd" you can use: getsebool -a | grep httpd or directly: setsebool -P httpd_enable_cgi on setsebool -P httpd_unified on setsebool -P httpd_builtin_scripting on now you can give a 644 to all files and 705 to folders. It should work perfectly. Hope it will help you Have a nice day. Alain 2 Link to comment Share on other sites More sharing options...
benjamin utterback Posted April 30, 2013 Share Posted April 30, 2013 Hi Alain, thank you for sharing your diagnoses and solution. I'll go ahead and mark this thread as SOLVED, thank you for choosing PrestaShop. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now