RE: Significant response time delays between 8.0 and 8.1
| From: | Steve Parry | Date: | Thu, 21 Dec 2023 07:23:42 +0000 |
| Subject: | RE: Significant response time delays between 8.0 and 8.1 | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328338@lists.php.net to get a copy of this message | ||
Thanks Rich.
Appreciate the time and advice.
After some discussions with my hosting provider, it turns out that the PHP handlers applied in 8.1
and 8.2 were different (suPHP) to that in 8.0 (lsapi). The PHP handler has now been changed from
suPHP to lsapi in ea-php81 and ea-php82, and the response time issue went away.
No idea whether the relevant Handlers support people need to know about this, and I don't know
how to report it to them anyway.
Thanks again to all who replied.
Cheers
...Steve
-----Original Message-----
From: richard gray <richgray@gmail.com>
Sent: Wednesday, December 20, 2023 7:59 PM
Hi Steve
Seems from the list above that the php.ini is not being loaded for v8.1 (I presume it shows a path
for v8.0?) - to truly test side by side then ideally both versions should be loading the same
php.ini settings. You should raise this as an issue with your hosting provider and once resolved try
your tests again
Some links below indicate that v8.1 *should* be quicker than v8.0:-
https://stitcher.io/blog/php-81-performance-in-real-life
https://pc-mind.com/is-php-8-1-faster-than-php-8-0-should-i-upgrade-to-php-8-1/
https://serverdiary.com/linux/benchmark-php-8-1-vs-php-8-0-php-7-4-php-7-3-php-7-0-php-5-6-and-php-5-5/
HTH
Rich