Cloud with Zend PHPCloud
This page is a tutorial to explain how to install Dolibarr ERP-CRM on the Zend Cloud Platform, called PHPCloud (http://phpcloud.com)
Create an account
Go on https://my.phpcloud.com/ and create your PHPCloud account.
Once account is created and confirmed, be sure your public certificate has been declared. For this go on menu Access Keys and upload your public key.
Create an instance
Go on https://my.phpcloud.com/, login with your PHPCloud account, then click on Deployed Applications - Add to add a new container.
Provide a name to your container, for example mycontainer and a login/password dedicated to this container. Do not click on Configure outgoing email server (SMTP) for the moment, we will do this later. Click on Create containrer.
After few seconds, your container is ready and a demo web application is available at https://mycontainer.my.phpcloud.com/.
Submit Dolibarr files
With a SFTP client, connect to your PHPCould file system. Information to configure your SFTP software is :
- User name: mycontainer
- Host name: mycontainer.my.phpcloud.com
- Port: 22 (this is the default SFTP port and usually there is no need to specify this)
- RSA Private Key: the path to your private key file
With this information, you can connect with SFTP to the PHPCloud file system. It contains by default only a directory applications/container-root/public
Upload all files into htdocs directory of Dolibarr package into this public directory.
Once this is done, edit (with your SFTP software) permissions on directory applications/containrer-root/public/conf to be writable for the group (by default permission are read-write for user and read only for group).
Run Dolibarr install Wizard
Once all previous steps are done, you can call the page http://mycontainer.my.phpcloud.com/ to run the Dolibarr install wizard.
Let all value detected by default. All you have to provide is:
- database server: replace localhost with mycontainer-db.my.phpcloud.com
- database name: mycontainer
- database user: mycontainer
- database password: mycontainer password
At the end of install process, if you get a blank page when going on http://mycontainer.my.phpcloud.com/, you must before restart the PHPserver on PHPCloud plateform. For this, login onto PHPCloud, click on link to "mycontainer", then click on Access Zend Server. Click on Button "Restart PHP" at bottom right. After few second, try again to go on Dolibarr with http://mycontainer.my.phpcloud.com/. You should reach the Dolibarr login page.
Outgoing Email Settings
Once dolibarr application is working, to allow your PHP to send emails (using the php function mail), you must configure a SMTP provider. Go into menu Configuration - Outgoings EMails settings, and enter all information for your SMTP provider.
Example to use GMail SMTP server (click twice on image to enlarge):
You can send test to send an email from Dolibarr menu: Home - Setup - EMails