ruloo Posted October 29, 2020 Share Posted October 29, 2020 Hi, I'm trying to install Prestashop 1.7 on my http server created in VirtualBox (Centos 7). I set files permissions to 777 (I know that the permissions should be 755 for folders and 644 for files, 777 is only for tests) and ownership to apache user but I still get an error: An error has occured: You need to grant write permissions for PHP on the following directory: /var/www/html/shop Is there anyone who have any idea what's wrong? Thanks Link to comment Share on other sites More sharing options...
solsol69 Posted November 3, 2020 Share Posted November 3, 2020 (edited) Did you unzip prestashop.zip ? Edited November 3, 2020 by solsol69 (see edit history) Link to comment Share on other sites More sharing options...
Gunnar Posted November 5, 2020 Share Posted November 5, 2020 I have just overcome this problem. I am running selinux on fedora 32. SElinux error browser woke up and recommended to take some actions. This helped me to move forward. But now I have other problems moving on in the installation. I get stuck on system compability check. I get an empty error message. Trying to install 1.7.7.0 beta2 Link to comment Share on other sites More sharing options...
JBW Posted November 10, 2020 Share Posted November 10, 2020 On 11/5/2020 at 4:44 PM, Gunnar said: Trying to install 1.7.7.0 beta2 There is already RC1 released, better got with that version. On 11/5/2020 at 4:44 PM, Gunnar said: I get an empty error message Whats your PHP version? Any errors in the error log files? Link to comment Share on other sites More sharing options...
Gunnar Posted November 10, 2020 Share Posted November 10, 2020 12 minutes ago, JBW said: There is already RC1 released, better got with that version. Whats your PHP version? Any errors in the error log files? I have PHP 7.4.12 (cli). When running php --version I get "PHP Warning: PHP Startup: Unable to load dynamic library 'mysqli' (tried ....." & " PHP Warning: PHP Startup: Unable to load dynamic library 'php_pdo_mysql.so' (tried: ....." & "PHP Warning: PHP Startup: Unable to load dynamic library 'php_gd2.so' (tried: ...." Also claiming "No such file or directory" for these. The funny thing is that I did made a "dnf update". And after that the Prestashop installation reported all fine and finalized the installation and all is looking good in BO. I've have imported categories, combinations and products. All is looking good. But still I have the warnings from "php --version" Link to comment Share on other sites More sharing options...
JBW Posted November 10, 2020 Share Posted November 10, 2020 10 minutes ago, Gunnar said: have PHP 7.4.12 Prestashop 1.7.7. is only compatible until PHP 7.3 - so you have to downgrade. And anyway you have to check why the libaries are not loaded Link to comment Share on other sites More sharing options...
Gunnar Posted November 10, 2020 Share Posted November 10, 2020 8 minutes ago, JBW said: Prestashop 1.7.7. is only compatible until PHP 7.3 - so you have to downgrade. And anyway you have to check why the libaries are not loaded Oh. Thanks JBW. 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