OCS version 2.3.5.0

Using OCS version 2.3.5.0 and due to security issues need to use PHP 7+ but when I install and use PHP7+ the website doesn’t work anymore. My OCS website only works with version PHP 5.6. Having only just joined this forum I am not sure whether this is a common problem but does anyone know if this can be fixed?

Hi @norman152,

OCS has not been adapted to work with PHP7 and we’re not yet sure what our plans for this application are; see OCS Update for the latest (as of this posting).

Among other adaptations, the String class needs to be renamed throughout to PKPString to avoid collisions with PHP7’s own String class.

Regards,
Alec Smecher
Public Knowledge Project Team

Thanks for this, so basically I have not option but to leave it using PHP5.6 even if I upgrade OCS to a newer version???

Hi @norman152,

For the moment, yes, you’ll need to stay with PHP5.6.

Regards,
Alec Smecher
Public Knowledge Project Team

thanks. Are there instructions on how to move this install onto a different machine with the same PHP etc?

Hi @norman152,

Moving to a different server is essentially the same as a backup and restore, but the restore happens in a new environment. See e.g. the OxS Quick Reference.

Regards,
Alec Smecher
Public Knowledge Project Team