It took nearly a day to solve this problem. The memory of my Alibaba Cloud server is 512M, but I learned that phalcon requires a higher memory, so I changed the memory to 2048M and then reinstalled it. There is still a problem. Finally The reason I finally found is that some environments need to be compiled before installing phalcon, so I entered the following commands: sudo apt-get install git-core gcc autoconf sudo apt-get install php5-dev sudo apt-get install php5-mysql. ok, solve the problem. . .
It took nearly a day to solve this problem. The memory of my Alibaba Cloud server is 512M, but I learned that phalcon requires a higher memory, so I changed the memory to 2048M and then reinstalled it. There is still a problem. Finally The reason I finally found is that some environments need to be compiled before installing phalcon, so I entered the following commands:
sudo apt-get install git-core gcc autoconf
sudo apt-get install php5-dev
sudo apt-get install php5-mysql.
ok, solve the problem. . .