Ok, I will give you the way I made it work.
If you want my way to work on your machine, please delete your store folder and your ojs folder and start over again because I think you configured the owner of the files and I didnt do that to make it work.
- Install PHP and its packages.
- Create a ojs user with all the permissions in mysql.
- Put the OJS folder on /var/www/html/ ← here. So your way to access to it trought the web browser will be: yourdomain/ojs-folder.
- Move into the OJS folder, and give all the permissions to the follow files and folders with
chmod 777 -R public/
chmod 777 -R cache/
chmod 777 -R cache/t_cache
chmod 777 -R cache/t_config
chmod 777 -R public/t_compile
chmod 777 -R cache/_db
chmod 777 config.inc.php
chmod 777 config.TEMPLATE.inc.php
- Create the ojs files folder in /var, and give it the permissions with
chmod 777 -R ojs-files/
- Now via yourdomain/ojs-folder you should access to the web installer.
I will wait for your answer. Good luck.