SugarCRM on Plesk

From Server Knowledge Base
Jump to navigationJump to search

Please ensure to setup new domains as follows:

 ← Hosting Services - Domains > Open in Control Panel for your domain
↓  Hosting Services - Subscriptions > Manage Hosting/Open in Control Panel for your domain
↓  ↓
↓  ↓
Websites & Domains tab > click your domain > under Web Scripting and Statistics change PHP Support from Apache Module to Fast CGI Application

If you have already created the domain/subdomain then you may need to go into the directory and chown the user to the ftpuser. Otherwise you will get an error as follows:

Installation of SugarCRM at http://domain.com/sugarcrm failed. Non-zero exit status returned by script. Output stream: 'PHP Warning: fopen(/var/www/vhosts/domain/site1/sugarcrm//config.php): failed to open stream: No such file or directory in /opt/psa/var/apspackages/apscatalogbSavcP.zip35f59401-21e1-71/cache/scripts/file-util.php on line 15 Warning: fopen(/var/www/vhosts/domain.org.uk/site1/sugarcrm//config.php): failed to open stream: No such file or directory in /opt/psa/var/apspackages/apscatalogbSavcP.zip35f59401-21e1-71/cache/scripts/file-util.php on line 15 Unable to write file /var/www/vhosts/domain.org.uk/site1/sugarcrm//config.php. '.

To resolve this you can commonly just go into the document root such as /var/www/vhosts/domain.com via SSH and do:

mkdir installfolder
chown ftpuser:group 

e.g. group being psaserv on a Plesk server. Then installing the application again. suphp may resolve this issue, increasing permissions or ensuring it tries to write as the correct user.

If you get an error regarding # being obsolete replace the # with // to comment out lines in the php.ini it suggests.