I am also running into this issue, i have followed the pre-installation permission setup as described here: and created a user for magento.īut when switching to the new user i cannot do anything with it since permissions are denied on all operations. */1 * * * * /opt/plesk/php/7.0/bin/php -c /opt/plesk/php/7.0/etc/php.ini /var/www/vhosts/ /httpdocs/bin/magento cron:run */1 * * * * /opt/plesk/php/7.0/bin/php -c /opt/plesk/php/7.0/etc/php.ini /var/www/vhosts//httpdocs/bin/magento setup:cron:run Just upload magento files using domain's ftp and set domain to use php fastcgi in hosting settings:
Plesk 12.5 install#
Plesk has on option to install several php versions, we do not do anything with main php and change domain settings in Plesk to use PHP 7 fastcgi for sites with Magento 2īefore installation we change folders to 755 permissions and files to 644 with user to ftpuser.psacln (but you do not need to do this if you uploaded files by FTP). We use php in cgi mode (it uses system(ftp) user) We have many Magento 2 clients running on Plesk 12, Varnish and PHP 7 without any problems with permissions. are easy to work with, especially when you have a couple websites that you need to run. but its just convenient to use since mail, databases etc. I know having plesk and magento together is not the ideal situation as Plesk does not support varnish (properly) etc. I would then be able to share it with everyone here as a working example giving detailed steps to make it work. If someone could give me the proper way of setting up the ownership and permission setting for a Plesk installation I think we would have a working setup for Magento 2 and Plesk 12.5 because the server does not allow the client to read the page, and cannot write the required files to the server etc, The permission issues are causing a lot of what other users have reported issues with ie.
Plesk 12.5 Patch#
However that is just a patch solution not destined for a live site. I know its a permission/ownership issue since I've solved it by 775, 777'ing folders and files which were then properly read and folders were written to as well. It's not working on a Plesk install since we have an extra user group level to deal with ie: psacln, psaserv and the actual webuser assigned by Plesk automatically when you create a domain.
I've attempted to use the procedure given in Magento 2 documentstion : apache : magento_user and vice versa etc. Now that Magento is "semi" installed I run into ownership/permission issues. Install INTL and any other mods (just have a look at the requirements for magento to see which you need)
Plesk 12.5 update#
Update PHP to 5.6 using Remi repo (Not Plesk PHP but CLI php so it doesn't throw errors during install)ĥ.
I have managed to go through the installation ok with hiccups along the way but overall I have the install procedure on this platform figured out.Ĥ.