SC8 & PHP7

Can SC8 run on PHP7 ??

If you mean the development IDE, I don’t think so. That’s why you’re best using their installer which, AFAIK, installs an earlier and compatible PHP version. Again AFAIK, it is dependent on PHP 5.6. But I could be wrong, I often am.

If you mean deployed projects, I have had no issues. I know of three instances of my projects completed with SC8.1 running OK on PHP7

Cheers

As far as I know you cannot use php 7 for applications generated under php 8. I’m not sure about that, but in the internal documentation about SC9 I read that there have been changes to create compatibility with PHP 7. So PHP 9 runs under php 7 and creates apps for php 5.6/7. SC 8 however runs under php 5.4/5.6 and the apps are not meant to run under php 7.

I do have problems with deployed projects on PHP7. They appear to work OK, but anything with a Global variable fails because the variable is not passed. (e.g. links between applications or things where you store a variable for later use in the project.). I also was not getting all of the relevant buttons (e.g. 'Save) on apps called via a link.

I’d forgotten the PHP version limitation when I update the domain’s PHP for a different application. There was no apparent problems and I only noticed the ‘quirk’ a few days later.

It took much head scratching and angst before I made the connection and reverted the PHP back to 5.6… Hey Presto and the apps worked fine again…

What could be the case is that the global variables are not all defined as sessionvar. This is recommended to avoid security issues.