OK, I was confused by the x86_64 - looked like it meant either x86 or 64 :) So mine is 64 bit, and that's what the vm is configured for...
I guess AMP needed to rest overnight, as now the CLI is working. But I still see the out of memory errors. There's no way to partition memory and swap space differently post install, right? Is there an English translation as to what those OOM messages mean? It seems to be "killing" processes that always mention "httpd" - what are those processes? And when I look at the rest of the OOM messages, it looks to be reporting the amounts of memory used by various things:
e.g. total-vm: 3,478,496kB, anon-rss: 63,052kB, file-res: 176kB
I'm guessing the first one is total memory used by vm (the AW guest vm under ESXi?). That's showing about 3.5GB. Add in the other two amounts and it's under 4GB. And I guess I only have 4GB to play with, as the other 4GB is dedicated to swap space and does not count?