Installing SugarCRM on Rackspace Cloud (Mosso)
On the first attempt to install SugarCRM on Rackspace Cloud (Mosso) I ended up with this warning:

Ok, no problem, right? Where do I change this setting? Ok, it wasn’t obvious so I took the risk and continued anyway. What I got was the process halting on this screen:

Now it’s time to dig.
On the installation guide (link), I get this recommendation:
Memory Requirements
Increase the value of the memory_limit parameter in the php.ini file as follows:
-MySQL Server: 40M or higher
-MS SQL Server: 40M or higher
On Mosso, there is no php.ini file to edit. The helpful support people at mosso (live chat is great) recommended me to this article – How do I change the PHP memory limit value?
Ok, so .htaccess will do the trick. I am a little new to php, and I am using a mac which by default hides .htaccess files.
This forum thread here gives us some good optimism, and this blog post here tells us how to show .htaccess files on a mac (thanks for the nice hack, apple.)
If the link ever goes down, the terminal commands are:
defaults write com.apple.finder AppleShowAllFiles TRUE killall Finder
defaults write com.apple.finder AppleShowAllFiles FALSE killall Finder
So here is my final .htaccess file:
# BEGIN SUGARCRM RESTRICTIONS RedirectMatch 403 (?i)^.*\.log$ RedirectMatch 403 (?i)/+not_imported_.*\.txt RedirectMatch 403 (?i)/+(soap|cache|xtemplate|data|examples|include|log4php|metadata|modules)/+.*\.(php|tpl) RedirectMatch 403 (?i)/+emailmandelivery\.php RedirectMatch 403 (?i)/+cache/+upload # END SUGARCRM RESTRICTIONS php_value memory_limit 64M php_value upload_max_filesize 100M php_value post_max_size 100M
And after I put it into the application root, I get this success:

And, it works. It’s all worth it in the end
Thanks, you save my day.
I would like to translate to spanish with the appropiate credit to you and your blog post. Could I?
Tks again
Hello Juan,
I am glad the post was helpful. Be my guest to translate to spanish!
Thanks,
This is really helpful.
Thanks. You are a life saver!