1

I have a new computer, Dell Inspiron 17 7000 Series. This is Laptop :

  • i7-6500U CPU @ 2.50GHz, 2601 MHz
  • 16 Go RAM
  • 512 Mo SSD
  • Windows 10, Wampserver 3.0.6 and PHP7 and OPCache

But with Symfony (New app, juste 3 slim controllers), my app is terribly slow ... 30 seconds :/

This is my php.ini var :

 - realpath_cache_size = 12288K
 - realpath_cache_ttl = 1800
 - opcache.max_accelerated_files=60000

Can you help me ?

enter image description here

Milan Chheda
  • 8,159
  • 3
  • 20
  • 35
Gaylord.P
  • 1,539
  • 2
  • 24
  • 54

1 Answers1

5

Most probably it's because of enabled XDebug. It happens with many PHP applications on Windows, not only with Symfony.

As discussed here, try to disable "remote_autostart" and "profiler_enable" modes:

xdebug.remote_autostart = 0
xdebug.profiler_enable = 0

Or even comment out line where XDebug is enabled, if above does not help:

;zend_extension = "/absolute/path/to/your/xdebug-extension.so"
Maksym Moskvychev
  • 1,471
  • 8
  • 11