Solved Rollback PHP?

circus78

Active Member

Reaction score: 8
Messages: 228

Hi, I am using FreeBSD 12.0-RELEASE-p10 on a physical server (email hosting, postfix + dovecot + nginx + roundcube).
Yesterday I upgraded PHP :

Code:
Sep 10 12:15:47 mailserver pkg[6676]: php72 upgraded: 7.2.21 -> 7.2.22
and of course I restarted services (php-fpm and nginx).
I noticed that webmail becomes very slow after upgrade.
I wondering if is it possible to rollback php version (I am using binary packages, not ports).
Thank you
 

anlashok

Member

Reaction score: 10
Messages: 42

look in /var/cache/pkg/ and you should find the backup copies of previous versions of packages you had installed and then
Code:
sudo pkg install php72-7.2.21.txz
for it and any modules can be reinstalled the same way.
 
Top