Has anybody gotten this to work? I’m suspecting this may be my problem. I’ve got through the install process but never get past the login page (also the pre-install complains of IMAP which was deprecated).
Hi, welcome to the Community! ![]()
You have to stay inside the Compatibility Matrix:
So, PHP 8.5 is not included. I really don’t advise trying it, it just won’t work.
What SuiteCRM version are you trying to install?
I understand that. The problem is that I do have other software on the machine. Furhter, it’s a royal pain even on a dedicated server to back down to older versions of PHP for security reasons.
Just wondering if anybody had actually debugged it enough to say, “Oh, here are a couple of things you need to do.”
8.10.0. Yes, I know about the matrix.
Ohh, understood. I don’t think anyone has done that on this forum.
Your best option is to review the code changes suggested on the official website, use AI or tool like Rector to upgrade code.
Migration guide:
Hello Ronald,
you can separate your Suite installation from the rest.
Even on the same machine, you’d be using a vhost with a separate subdomain for the CRM.
Then you’d use PPA for PHP : Ondřej Surý to install 8.4 beside your 8.5 and configure the vhost of SuiteCRM accordingly.
It works without any issues, once setup.
This sounds tempting, but my experience with SuiteCRM is that the codebase is huge, parts of it are extremely old (though thankfully we’re moving away from these crappy parts of the code at a fast pace) and the complexity sometimes is quite high.
So every major PHP upgrade is a project not to be taken lightly. I didn’t check PHP 8.5 specifically, so we might be lucky and it might turn out to be a painless upgrade. But I still think it needs to be looked into by someone familiar with the codebase (and not just Rector).
Definitely go with @BastianHammer 's advice - install two PHP versions side by side, it’s much less riskier.
Also, PHP 8.4 still has security support until December 2028, so you don’t have to worry much about it. ![]()
Yeah, just wishful thinking on my part that someone had gotten it to work and had a workaround.
I’ll back down to PHP 8.3 (it seems to be what I’m running on some of my other operational sites so I know it’s generally safe for me). The problem is that they cleaned up the ubuntu repositories to get rid of the older versions (and the various things in Apache you need to run them), so there’s kind of an elaborate dodge to go back before 8.5.
Anyhow, as I said, just wishful thinking on my part.
I can’t install 8.4 on Ubuntu 26. I’ve given up and backed down to 24.
On 26 it seems to be the same in general:
https://linuxize.com/post/how-to-install-php-on-ubuntu-26-04/#installing-other-php-versions
Alas no, that doesn’t work at all. I’ve tried that. Adding thae ondrej repo to apt in 26 doesn’t function properly as it is not configured properly for that. Attempts at working around this have been futile.
How to Fix or Switch to PHP 8.4
Add the Required Repository
sudo add-apt-repository ppa:ondrej/php
sudo apt update
Install PHP 8.4 and Extensions
sudo apt install -y php8.4-cli php8.4-curl php8.4-common php8.4-intl php8.4-gd php8.4-mbstring php8.4-mysql php8.4-soap php8.4-xml php8.4-zip php8.4-imap php8.4-ldap
Set the CLI Version
sudo update-alternatives --set php /usr/bin/php8.4
Update Your Web Server
sudo a2dismod php8.5
sudo a2enmod php8.4
sudo systemctl restart apache2
Have you able to install different versions of PHP on the Ubuntu 24.04?
Yes, 24.04 gave me the options to pick just about any PHP version from 5.6 up to 8.5.