I accidentally ran
sudo apt-get upgrade on my Ubuntu 18 VM which in turn upgraded phalcon from 3.4 to 4.0
At first, I thought it was not a bad idea to upgrade the framework, but after encountering an annoying bug (error when trying to delete a cookie), I decided to downgrade to something more stable (3.4)
I tried both compiling 3.4 from source and installing it via apt-get (
sudo apt-get install php7.2-phalcon=3.4.*). However, after I restarted apache, the server stopped working and HTTP request simply times out.
Apache error log contains message
Segmentation fault (core dumped)
php/7.2/conf.d/ folder resolves the issue, so it is Phalcon which throws the error.
Reinstalling or using different version (3.0) did not resolve the issue.
Any solution to that? Not really excited about recreating the VM