{"id":415,"date":"2016-05-01T17:54:21","date_gmt":"2016-05-01T21:54:21","guid":{"rendered":"http:\/\/brian.digitalmaddox.com\/blog\/?p=415"},"modified":"2016-05-01T17:54:21","modified_gmt":"2016-05-01T21:54:21","slug":"quicktip-suitecrm-7-6-and-dreamhost","status":"publish","type":"post","link":"https:\/\/brian.digitalmaddox.com\/blog\/?p=415","title":{"rendered":"QuickTip: SuiteCRM 7.6 and DreamHost"},"content":{"rendered":"<p>My wife (who is a <a href=\"http:\/\/mandy.opendoorva.com\/\">realtor<\/a> now \ud83d\ude42 wanted a <a href=\"https:\/\/en.wikipedia.org\/wiki\/Customer_relationship_management\">CRM<\/a> so I thought I&#8217;d set <a href=\"https:\/\/suitecrm.com\/\">SuiteCRM<\/a> up on our domain so she didn&#8217;t have to pay for a commercial one.\u00a0 We go through <a href=\"https:\/\/www.dreamhost.com\/\">DreamHost<\/a> (who I would highly recommend for a hosting company BTW) and everything I had read said in theory it should work just fine.<\/p>\n<p>It didn&#8217;t.<\/p>\n<p>I banged on it a little bit and finally got it working.\u00a0 In case anyone is interested, here are the steps I did that I&#8217;m copying and pasting out of an email I sent back to DreamHost&#8217;s technical support in case anyone else has problems (I&#8217;m lazy and don&#8217;t feel like retyping it :).\u00a0 I think the root cause is that SuiteCRM creates a config.php as part of the installation instead of having one there where you can edit the default file and directory permissions by default.<\/p>\n<ol>\n<li>Unzipped it under my top-level domain and then renamed it so the url would be XXX\/suitecrm.<\/li>\n<li>Temporarily renamed my .htaccess so that it wouldn&#8217;t interfere with it.<\/li>\n<li>Did a chmod -R 775 suitecrm from the top-level domain directory.<\/li>\n<li>Made the PHP mods to my .php\/5.5\/phprc like your SugarCRM wiki mentioned and made some alterations just in case:<br \/>\npost_max_size = 50M<br \/>\nupload_max_size = 50M<br \/>\nmax_input_time = 999<br \/>\nmemory_limit = 140M<br \/>\nupload_max_filesize = 50M<br \/>\nsuhosin.executor.include.whitelist = upload<br \/>\nmax_execution_time = 500<\/li>\n<li>Started the installation.\u00a0 After entering in the db information and what not, clicked next and let it run.\u00a0 While it hung, it did at least create some subdirectories that it needed but created them with the &#8220;wrong&#8221; permissions since it does not create a config.php until you start to install it.<\/li>\n<li>Did a killall php55.cgi to stop the installers.<\/li>\n<li>Did another chmod -R 775 on the suitecrm directory from my top-level directory.<\/li>\n<li>Reran the install and this time it worked like a charm.<\/li>\n<li>Put my .htaccess back and then edited the default permissions in config.php like the DreamHost SugarCRM <a href=\"http:\/\/wiki.dreamhost.com\/Talk:SugarCRM\">talk<\/a> page mentions.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>My wife (who is a realtor now \ud83d\ude42 wanted a CRM so I thought I&#8217;d set SuiteCRM up on our domain so she didn&#8217;t have to pay for a commercial one.\u00a0 We go through DreamHost (who I would highly recommend &hellip; <a href=\"https:\/\/brian.digitalmaddox.com\/blog\/?p=415\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-415","post","type-post","status-publish","format-standard","hentry","category-quicktip"],"_links":{"self":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/415","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=415"}],"version-history":[{"count":5,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/415\/revisions"}],"predecessor-version":[{"id":420,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/415\/revisions\/420"}],"wp:attachment":[{"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=415"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=415"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/brian.digitalmaddox.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=415"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}