I wouldn't be at all surprised that octopi and many other animals have loose farming-like behaviors. This is a far cry from what we generally mean by civilization.
In particular, I believe the domestication of fire is the dividing line between humans and animals. This tool provides access to an enormous new source of energy, which opened a myriad of possibilities unavailable to animals. The tool use and motor skills needed to build, maintain, and use fire probably was a significant stimulus to human brain development.
Cephalopods, of course, would have no opportunity to master fire.