PHP Upgrade

Silverstripe Version: Version 4

Question: The PHP is 5.6 - can I update the PHP to 7.3 and if so, how do I do that? Website was created by contracted company who no longer offers services in Silverstripe.

Yes you can (and should!) upgrade your php version - PHP 7.3 and 7.4 both went EOL already, so you should really go to at least PHP 8.0.
See PHP: Supported Versions for the PHP support timeline.

How to go about updating PHP is a question better asked on stack overflow - or for that matter just googling it. It’s not a silverstripe-specific question and there are a lot of variables at play (operating system, whether you have php-fpm installed, etc) that would change how to go about the upgrade.

Note that depending on what specific version (e.g. 4.3 or 4.12) of Silverstripe your project is running, and whether the custom project-specific code is compliant with updated versions of PHP, you may need to update the silverstripe dependencies and your project code.

Hi @Agreenland ,

What version of Silverstripe are you currently using?

Silverstripe 3.5.1
Website was built by company that no longer uses Silverstripe.
In order to upgrade the PHP - I guess I need to upgrade the Silverstripe, but I am unfamiliar how to do that.

Send me your files and I’ll make an updated version and send it to you.