Jump to content

Support PHP 8.0?


MesharskyDev
 Share

Recommended Posts

PHP 8 is not faster than PHP 7.4 for the vast majority of web applications. There are many great new features and language improvements, but speed improvements for web apps was not the focus of PHP 8. There will be limited reasons for IPS to officially support PHP 8 until it's baked a few versions, minimum.

Link to comment
Share on other sites

13 hours ago, bfarber said:

We have been testing PHP 8 compatibility locally and it will be included in a future release, however I can't say exactly when that will be. I can say that certain third party libraries we use will also need updates before we can fully support PHP 8.

Will JIT be used?

Link to comment
Share on other sites

JIT isn't something the application explicitly uses - it's a feature of the language that can be enabled or disabled in php.ini. It will be used if you enable it in your PHP configuration, in other words. Whether it will improve performance or not remains to be seen.

Link to comment
Share on other sites

On 1/1/2021 at 11:42 PM, SUBRTX said:

I think it's still too early...

What do you mean? Its stable for quite a long time now. 

On 1/2/2021 at 3:48 AM, Morgin said:

PHP 8 is not faster than PHP 7.4 for the vast majority of web applications. There are many great new features and language improvements, but speed improvements for web apps was not the focus of PHP 8. There will be limited reasons for IPS to officially support PHP 8 until it's baked a few versions, minimum.

What benkchmark did you use? I can see at least x2 speed improvment on the latest version.
 

On 1/4/2021 at 4:07 PM, bfarber said:

We have been testing PHP 8 compatibility locally and it will be included in a future release, however I can't say exactly when that will be. I can say that certain third party libraries we use will also need updates before we can fully support PHP 8.

Thank you for your answer, hopefully it will be soon 😉

Regards.

Link to comment
Share on other sites

On 1/7/2021 at 1:03 PM, NightGame said:

What benkchmark did you use? I can see at least x2 speed improvment on the latest version.

Latest version of IPS? I haven’t personally benchmarked, but I’m going off what most the trusted PHP experts (and the PHP development team) have said about 8. Expect performance gains from JIT in certain specific calculation tasks and long running php apps. Most web apps (which aren’t either of those things) aren’t not expected to specifically benefit from the initial release of 8. If IPS is seeing a x2 performance gain, I would be shocked and that goes against everything written about the purpose and expectations for 8, but would obviously be a welcome surprise. 

Link to comment
Share on other sites

  • 1 month later...

I am most pleased to hear this joyful news.  I observed that on my localhost install I could not get past the screen asking for my license key. For a brief moment or so, I had assumed I made an unidentifiable and critical error someplace yet not discovered. I shall take comfort in knowing that, in all likelihood, it was merely the incompatibility.

To be a little more clear. I can reach as far as the following URL. admin/install/?controller=license

But after entering my license key and submitting I am greeted with an all-white page that ends with the following URL. admin/install/index.php?controller=applications

My httpd error logs note the following of interest.

[Fri Feb 12 00:01:14.247050 2021] [proxy_fcgi:error] [pid 21325:tid 140322638108224] [client 127.0.0.1:44732] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught IPS\\Db\\Exception: No database selected in /srv/http/ips/system/Db/Db.php:638\nStack trace:\n#0 /srv/http/ips/system/Db/Select.php(383): IPS\\_Db->preparedQuery()\n#1 /srv/http/ips/system/Db/Select.php(281): IPS\\Db\\_Select->runQuery()\n#2 /srv/http/ips/system/Settings/Settings.php(182): IPS\\Db\\_Select->setKeyField()\n#3 /srv/http/ips/system/Settings/Settings.php(132): IPS\\_Settings->loadFromDb()\n#4 /srv/http/ips/system/Db/Db.php(621): IPS\\_Settings->__get()\n#5 /srv/http/ips/system/Db/Select.php(383): IPS\\_Db->preparedQuery()\n#6 /srv/http/ips/system/Db/Select.php(281): IPS\\Db\\_Select->runQuery()\n#7 /srv/http/ips/system/Settings/Settings.php(182): IPS\\Db\\_Select->setKeyField()\n#8 /srv/http/ips/system/Settings/Settings.php(132): IPS\\_Settings->loadFromDb()\n#9 /srv/http/ips/system/Db/Db.php(621): IPS\\_Settings->__get()\n#10 /srv/http/ips/system/Db/Select.php(383): IPS\\_Db->preparedQuery()\n#11 /srv/http/ips/system/Db/Select.php(281): IPS\\Db\\_Select->runQuery()\n#12 /srv/h...', referer: http://localhost/
[Fri Feb 12 00:01:46.470848 2021] [proxy_fcgi:error] [pid 21127:tid 140323158226496] [client 127.0.0.1:44762] AH01071: Got error 'PHP message: PHP Fatal error:  Cannot make static method XMLReader::open() non static in class IPS\\Xml\\_XMLReader in /srv/http/ips/system/Xml/XMLReader.php on line 34', referer: http://localhost/ips/admin/install/?controller=license

I have confirmed the functionality of my localhost by successfully installing a competing product. But I digress.  It pleases me to know that Invision shall have this resolved in due time.

Edited by Linux-Is-Best
format
Link to comment
Share on other sites

  • 2 weeks later...
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...