PHP 8.0 is very slow on Windows (still)

Issue Summary

As per this same unresolved, old thread:

Put it simply that any sites running PHP 8.0 are painfully slow, whereas any sites running lower PHP versions are fast. I’ve tried creating new sites and alternating versions on existing sites and the results are always the same.

There is clearly something bottlenecking the performance of sites running PHP 8.0 on Windows.

This is a huge shame as many sites need to take full advantage of this version of PHP, particularly now that many hosting providers are forcing PHP 8 and up.

Troubleshooting Questions

  • Does this happen for all sites in Local, or just one in particular?
    All sites when running PHP 8.0.

  • Are you able to create a new, plain WordPress site in Local and access it in a Browser?
    Yes.

Replication

Create a new site, or edit an existing site and set PHP version to 8.0 on Windows.

System Details

  • Which version of Local is being used?
    6.1.4+5521

  • What Operating System (OS) and OS version is being used?
    Windows 11 (upgraded from version 10.0.22000 Build 22000). NOTE: This issue existed before upgrading to Windows 11, so the update has nothing to do with it.

Thank you! Appreciate your help.

2 Likes

I am having the same issue.

PHP8 server is still very slow on Local 6.2.1+5711. It take about 5 to 10s to load a single page. Same site works fine on PHP 7.4.1.

Windows 10
Web Server: nginx
PHP Version: 8.0.0
Database: MySQL 8.0.16
Wordpress Version: 5.9

Thanks

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.