Saturday, June 25, 2011

Installing SugarCRM on Apache Web Server

Steps:
1. Create a database say 'sugarcrm'.

2. If you want to use open source SugarCRM, download SugarCRM Community Edition
   http://www.sugarcrm.com/crm/download/sugar-suite.html

3. Unzip it and place inside your application server deployment folder. Rename it with some name for e.g. sugarcrm.

4. Open your browser and type the url of your sugarcrm. For e.g. http://localhost/sugarcrm in my case. You will then see the sugarcrm page, click next. After that you will see a page as shown below.



  • Check if  php, database and web server are of supported version. If you are working in linux:     
    • You might need to give enough write permission to session variables by giving read and write access to 'session' located in  /var/lib/php/session
    •  Give appropriate read and write permission to config.php file located inside sugarcrm folder
    •  Give appropriate read and write permission to folders inside sugarcrm like custom, cache and modules
    • To install MB string and curl
      • yum install php_curl, php_mbstring (for CentOS)
    • If you are working in windows and want to  install MB strings, go to php.ini and    
      • ;extension=php_mbstring.dll with
      • extension=php_mbstring.dll
        check if php_mbstring.dll is present inside php 'ext' folder. 
      • To enable curl, uncheck php_curl.dll and check if it is present inside php 'ext' folder
    • Restart web server

5. Finally, you should be able to see 'Confirm Setting' page as shown below. In this page, if you see some of the modules not found, then you can enable the modules in php.ini as mentioned in step 4.


Now, after some steps, you will be redirected to sugarcrm login page. Login to the page and make the settings according to your requirement.

No comments:

Post a Comment