Jump to content

Why prestashop 8.2.3 at localhost work so so slowly


everiopo

Recommended Posts

Why the new / clean instalation prestashop 8.2.3 at localhost work so much slowly ? I tried work at WAMP or XAMPP , and its doesn't matter, all them terrifyingly slowly.

Simple Page at localhost takes 7-10 seconds to load, while the same page on the production server loads in 0.5 seconds. If the local server has to perform a more complicated operation, I have to wait up to a few minutes ! I can't even load the module or themes. I tried different PHP version , tried  extended the php.ini settings  (memory_limit=8G, max execution=3500, etc...)

The old version prstashop 1.6.2 at localhost it worked very well, now I can not do anything.

Please Help, I can not work at this. What is wrong?

 

Screenshot 2025-09-15 at 23-28-24 Produkty • Presta 823 Cool.png

Screenshot 2025-09-15 at 23-30-30 Zamówienia • Presta 823 Cool.png

Zrzut ekranu 2025-09-15 234043.png

Zrzut ekranu 2025-09-15 234116.png

Link to comment
Share on other sites

First , I tried instalation from official website prestashop (4.09.2025). Screens are from there version: prestashop_edition_classic_version_8.2.3.zip. Then I tried version from GitHub - with classic menu . But problem is that same.

I made tests using Xampp / Wamp at Win11 and at Win10 , two different computers

Link to comment
Share on other sites

PS 8.x sits on Symfony and loads a lot more PHP files than PS 1.6 did. On Windows stacks (WAMP/XAMPP) that file-I/O is notoriously slow, especially when antivirus scans each read. That can easily turn a ~0.5s prod request into 7–10s locally.

Make sure Xdebug is fully disabled/uninstalled for normal runs. Many WAMP/XAMPP builds enable it by default, and even when your IDE isn’t “listening,” it can 10× slow PHP. Remove/disable the extension and restart Apache/PHP.

Enable OPcache and verify it’s actually working (info.php or phpinfo in WAMP/XAMPP). Without OPcache, every request recompiles heaps of PHP files = pain.

I stopped using localhost after PrestaShop 1.4 — just too slow, and that’s even on a really fast computer. These days I always build on hosting, usually on a subdomain. There are a lot of tweaks you can do to speed up localhost, but if you don’t already know them it’s usually faster and easier to just use real hosting space.

Link to comment
Share on other sites

1 hour ago, El Patron said:

PS 8.x sits on Symfony and loads a lot more PHP files than PS 1.6 did. On Windows stacks (WAMP/XAMPP) that file-I/O is notoriously slow, especially when antivirus scans each read. That can easily turn a ~0.5s prod request into 7–10s locally.

Make sure Xdebug is fully disabled/uninstalled for normal runs. Many WAMP/XAMPP builds enable it by default, and even when your IDE isn’t “listening,” it can 10× slow PHP. Remove/disable the extension and restart Apache/PHP.

Enable OPcache and verify it’s actually working (info.php or phpinfo in WAMP/XAMPP). Without OPcache, every request recompiles heaps of PHP files = pain.

I stopped using localhost after PrestaShop 1.4 — just too slow, and that’s even on a really fast computer. These days I always build on hosting, usually on a subdomain. There are a lot of tweaks you can do to speed up localhost, but if you don’t already know them it’s usually faster and easier to just use real hosting space.

If not localhost, what solutions you suggest for working ?

What you use ? SSH Remote + Visual Studio ?

Link to comment
Share on other sites

Il y a 11 heures, El Patron a dit :

PS 8.x sits on Symfony and loads a lot more PHP files than PS 1.6 did. On Windows stacks (WAMP/XAMPP) that file-I/O is notoriously slow, especially when antivirus scans each read. That can easily turn a ~0.5s prod request into 7–10s locally.

We have some developers working under Windows 10 and 11, with Wamp or Xamp, and it works normally. First all, if you have antivirus as said @El Patron deactivate it when running sites, or put in white list apache, mysql, mariadb, php executables. Change realpath_cache_size size in php.ini to a large value like:

realpath_cache_size = 5M

Also make sure you mariadb or mysql settings are corrects especially for innodb.

  • Like 1
Link to comment
Share on other sites

16 hours ago, everiopo said:

If not localhost, what solutions you suggest for working ?

What you use ? SSH Remote + Visual Studio ?

share with community what type of environment you need to support, i.e. for multiple developers?  think github...and connect that to a staging machine on hosting, or docker...but if you share what your platform requirements are I'm sure the new generation of PrestaShop enthusiasts can provide good feedback. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...