0

I am using XAMPP with php set up with memory_limit 2GB and max_input_vars set to 10000.

Is there anything else I can do to speed up performance of Magento 2 on windows?

  • Try enabling cache if it's not already enabled. – Akhil Gupta Jan 16 at 5:13
  • The setup is for development purpose, I would rather not have to clear cache every time a change need to be reflected. – Vivek Kumar Jan 16 at 5:15
  • Yeah i also had same thought as I do same for Magento 1 but Magento 2 is dead slow in local machine. So instead waiting for page load, I felt its good to clear cache sometimes. Try once if helps else you can always disable cache :) – Akhil Gupta Jan 16 at 5:18
  • Try these works for me and better speed bitnami.com/stack/magento/installer – Vishwas Bhatnagar Jan 16 at 5:29
  • @AkhilGupta, but still for frontend having to deploy content for compiling less is a real pain. – Vivek Kumar Jan 16 at 5:31
0

The problem may be Xdebug in xampp\php\php.ini. Here're some solutions found around the web:

  1. Run XAMPP as adminisrator and restart server.
  2. In xampp/apache/conf/httpd.conf, replace localhost with 127.0.0.1 and restart server.
  3. In Windows/System32/drivers/etc/hosts, add “127.0.0.1 127.0.0.1” & “127.0.0.1 localhost” and restart Window.
  4. In Windows/System32/drivers/etc/hosts, un-comment “127.0.0.1 localhost” and restart Window.
  5. In php.ini, uncomment zend_extension = "C:\xampp\php\ext\php_eaccelerator_ts.dll" and restart server.
  6. In php.ini, set xdebug.remote_enable=0.
  7. In php.ini, set remote_host="localhost".
  8. In php.ini, set xdebug.profiler_enable=0.
  9. In php.ini, comment out all Xdebug statements.
  10. If you using any antivirus on window pc, switch off the antivirus realtime scan (or add exclusion for XAMPP folders). Note: don't forget to restart the computer after the antivirus setting update (without that, the change couldn't take effect properly)
  11. Try PHP7 under XAMPP

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.