Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SLOW Drupal over localhost | windows7 EasyPHP 64x


I am running Drupal 7.16 on my laptop(Windows7 x64 with 6gb RAM over EasyPHP12.1).
For now the drupal running very slow!

I already try to:

  1. Increase php.ini realpath_cache_size to 24M
  2. Change my.ini innodb_flush_log_at_trx_commit to 0
  3. Change the hosts file to resolve ipv6 bug..
  4. Try another wamp solution
  5. It seems that when I run simple query(SELECT uid FROM users) the phpMyAdmin return a quick respond(0.0009s)..
  6. Another drupal clean installation load also slow...

Thanks,
~Almog

* I also tried UniformServer and it still slow, and changing the my.ini follwing the posts over here(stackexchange websites) and follwing drupal.org
** It's seems that wordpress load fast, so it seems that the problem is with the drupal only?

like image 750
Almog Baku Avatar asked Oct 30 '12 22:10

Almog Baku


2 Answers

You have two ways:

1) Tune your installation: install php-apc, install monitoring software (sysinternals) to detect bottleneck, install xdebug, Wincachegrind etc.

2) Use some preconfigured software: acquia, vagrant

like image 167
pkhlop Avatar answered Oct 29 '22 10:10

pkhlop


My solution for now:

  1. Remove every WAMP service
  2. ReInstall & configure last version of EasyPHP (enable only neccary php plugins!)
  3. Install the lastest "EasyPHP components"
  4. fixing the php.ini for the newst components dir in some places(like xdebug)
  5. Increasing memory_limit
  6. clear all caches(browser&drupal)
  7. using minified jquery by drupal(admin->performance)
  8. fully restart of my pc and remove some softwares from autostart

Now it run much better! not perfect.. but it mainly because I want drupal in deploy mode!

*the deafults setting of EasyPHP is well-done! there is not much to change! *

like image 2
Almog Baku Avatar answered Oct 29 '22 10:10

Almog Baku