Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 2, 20168 yr Quote The PHP development team announces the immediate availability of PHP 7.1.0. This release is the first point release in the 7.x series. PHP 7.1.0 comes with numerous improvements and new features such as Nullable types Void return type Iterable pseudo-type Class constant visiblity modifiers Square bracket syntax for list() and the ability to specify keys in list() Catching multiple exceptions types Many more features and changes… For source downloads of PHP 7.1.0 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog. The migration guide is available in the PHP Manual. Please consult it for the detailed list of new features and backward incompatible changes. Many thanks to all the contributors and supporters! http://php.net/archive/2016.php#id2016-12-01-3
December 2, 20168 yr On my tests it works great but many users prefer to wait a bit for a more mature releases of 7.1.x But you can test it yourself and see :-)
December 2, 20168 yr Be sure about that. I run one of Ehren's styles (Chameleon) and had the snow effect enabled. Went and disabled it and get a 500 error on my site with this error log Error: [] operator not supported for strings (0) #0 [internal function]: IPS\Output\Plugin\_Prefix::runPlugin('transition', Array, 'css_core_global...', 'IPS\\Theme') #1 /home/nginx/domains/thepipestand.com/public/system/Theme/Theme.php(4268): call_user_func(Array, 'transition', Array, 'css_core_global...', 'IPS\\Theme') #2 [internal function]: IPS\_Theme::IPS\{closure}(Array) #3 /home/nginx/domains/thepipestand.com/public/system/Theme/Theme.php(4299): preg_replace_callback('/\\{([a-z]+?=(['...', Object(Closure), '\tfunction css_c...') #4 /home/nginx/domains/thepipestand.com/public/system/Theme/Theme.php(4057): IPS\_Theme::compileTemplate('/* BOTH */\n@med...', 'css_core_global...', '', false, true) #5 /home/nginx/domains/thepipestand.com/public/system/Theme/Theme.php(4807): IPS\_Theme::makeProcessFunction('/* BOTH */\n@med...', 'css_core_global...', '', false, true) #6 /home/nginx/domains/thepipestand.com/public/system/Theme/Theme.php(2323): IPS\_Theme::writeCss(Array) #7 /home/nginx/domains/thepipestand.com/public/system/Theme/Theme.php(543): IPS\_Theme->compileCss('core', 'global', 'responsive', 'responsive.css') #8 /home/nginx/domains/thepipestand.com/public/system/Dispatcher/Standard.php(53): IPS\_Theme->css('responsive.css', 'core', 'global') #9 /home/nginx/domains/thepipestand.com/public/system/Dispatcher/Front.php(511): IPS\Dispatcher\_Standard::baseCss() #10 [internal function]: IPS\Dispatcher\_Front::baseCss() #11 /home/nginx/domains/thepipestand.com/public/init.php(441) : eval()'d code(9): call_user_func_array('parent::baseCss', Array) #12 /home/nginx/domains/thepipestand.com/public/system/Dispatcher/Front.php(64): IPS\Dispatcher\bdmoods_hook_Dispatcher_Front::baseCss() #13 /home/nginx/domains/thepipestand.com/public/system/Dispatcher/Dispatcher.php(86): IPS\Dispatcher\_Front->init() #14 /home/nginx/domains/thepipestand.com/public/index.php(13): IPS\_Dispatcher::i() #15 {main} Am recompiling PHP 7.0.13 to see if the issue resolves. EDIT: And yes, that resolved the issue, so it appears that it is an issue with PHP 7.1. I'm recompiling under 7.1 again and going to disable the bd Moods add-on and test to see if that is the culprit.
December 2, 20168 yr Well, looks like (at least for me) PHP 7.1 is not playing nicely with IPS. At first things were working fine, but once I disabled a style feature it all went to hell in a hand basket. I've regressed back to 7.0.13 until IPS officially states that 7.1 is supported.
December 3, 20168 yr Author @Charles what is the stand of IPS regarding PHP 7.1? Supported or not supported?
December 3, 20168 yr See: https://github.com/php/php-src/blob/PHP-7.1/UPGRADING#L81 Quote The empty index operator (e.g. $str[] = $x) is not supported for strings anymore, and throws a fatal error instead of silently converting to array.
December 5, 20168 yr Management On 12/3/2016 at 10:35 AM, RevengeFNF said: @Charles what is the stand of IPS regarding PHP 7.1? Supported or not supported? Right now our stance is it literally was just released a few days ago and it takes some time to test and certify
December 5, 20168 yr As the speed improvement is not big (as it was from 5.6.x to 7.0.x) it is better to wait a bit for a more stable version
December 5, 20168 yr 43 minutes ago, ASTRAPI said: As the speed improvement is not big (as it was from 5.6.x to 7.0.x) it is better to wait a bit for a more stable version How beneficial of a difference is it over 5.6? I have considered making the upgrade to speed my site up, however I'm unsure about it because your not able to downgrade from 7.0x right?
December 5, 20168 yr 7.1 broke my latest update to 4.1.17, reverted back to 7.0.13 and all is good again
December 5, 20168 yr Author I think for now is best for Invision to declare PHP 7.1 to be incompatible with IPS 4.1.
December 5, 20168 yr Quote How beneficial of a difference is it over 5.6? From 5.6.x to 7.0.x is about 54% faster and that's a huge number From 7.0.x to 7.1.x is about 7% faster. The above numbers are estimated and based on my own benchmarks but many users report similar results. Quote however I'm unsure about it because your not able to downgrade from 7.0x right? You can upgrade or downgrade from/to any php version You just need to know how to setup it from the start in a way that it will be easy and flexible for such actions !!! Keep in mind that you will need to use latest versions for your extensions also like: mailparser, Ioncube, Geoip and so on ......
December 13, 20168 yr On 12/5/2016 at 1:34 PM, EmpireKickass said: So, is it safe to update? allot of website had bad results One word NO!
December 13, 20168 yr On 05/12/2016 at 8:54 PM, RevengeFNF said: I think for now is best for Invision to declare PHP 7.1 to be incompatible with IPS 4.1. On 05/12/2016 at 1:46 PM, Charles said: Right now our stance is it literally was just released a few days ago and it takes some time to test and certify
December 13, 20168 yr If should to do(upgrade php and mariadb, maybe nginx too), how? where is a guide to do savely? I have ubuntu 16.04 on azure. Is possible test my server configuration to know if has good security setting?
December 16, 20168 yr On 05/12/2016 at 9:00 PM, ASTRAPI said: From 5.6.x to 7.0.x is about 54% faster and that's a huge number From 7.0.x to 7.1.x is about 7% faster. The above numbers are estimated and based on my own benchmarks but many users report similar results. You can upgrade or downgrade from/to any php version You just need to know how to setup it from the start in a way that it will be easy and flexible for such actions !!! Keep in mind that you will need to use latest versions for your extensions also like: mailparser, Ioncube, Geoip and so on ...... Thanks, I use the multiphp function to enable which version certain sites use. I have to say two of my sites are running very smoothly now, one of which was kinda sluggish before (not incredibly slow but noticeable). Appreciate the information.
January 12, 20178 yr 5 minutes ago, nodle said: Any update if we can safely enable 7.1 yet? There are a few known issues which are fixed in 4.1.18. We are actually looking to make sure IPS4 is compatible with PHP 7.1 as soon as possible.
January 12, 20178 yr Just now, Ryan Ashbrook said: There are a few known issues which are fixed in 4.1.18. We are actually looking to make sure IPS4 is compatible with PHP 7.1 as soon as possible. Thanks @Ryan Ashbrook I was just looking for some official feedback on this. Looking forward to the release!
February 5, 20178 yr Author 2 minutes ago, Steph40 said: So now that 4.1.18 is released, is it compatible with PHP 7.1? Yes.
Archived
This topic is now archived and is closed to further replies.