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:
realpath_cache_size
to 24M
innodb_flush_log_at_trx_commit
to 0
hosts
file to resolve ipv6 bug.. SELECT uid FROM users
) the phpMyAdmin return a quick respond(0.0009s).. 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?
You have two ways:
1) Tune your installation: install php-apc, install monitoring software ( sysinternals ) to detect bottleneck, install xdebug, Wincachegrind etc.
My solution for now:
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! *
There are 2 solutions to handle Drupal's slowness on windows machine:
1. Hosts file Settings
Make following changes in your hosts file…
i. Call the apache web server address by ip address. On a local computer it is 127.0.0.1
ii. Comment ::1 localhost line in hosts file which is a mapping in TCP/IP v6 protocol
2. Disable/Adjust TCP/IP v6 protocol of your network interface
There are two options…
i. Disable TCP/IP v6 protocol of your network interface so that windows doesn't try to resolve your hostname to an ipv6 address.
ii. ipv6 does not need to be disabled. Open your command prompt as an administrator and use following commands in command prompt
netsh
interface
portproxy
add v6tov4 listenport=80 connectport=80
80 is your web server port of course
Drupal has always run slowly for me when hosted on Windows. I've tried xampp, bare bones apache/php/mysql installs, and zend server. 32 or 64 bit doesn't seem to matter for speed, but 32 bit builds seem a bit more available. So far zend seems a little better, but not as fast as a real linux server. Have you tried VirtualBox with Ubuntu or other Linux? I've run an Ubuntu server with 8GB of ram in my office and it was as fast as a decent VPS server. I suggest trying that if you haven't already.
Everyone knows slow websites are bad for business and your website users. However, solving the problem can be challenging, slow to implement, and often requires starting from scratch.
I am using wamp server for my drupal projects on windows7 OS. It works very much well. Its all depends how did you configured your project. I am not using any caching technique for my project. The system is having 1 million users. I did database tuning for that so It loads data very fast.
For your application I would recommand you some stuff to do
尝试运行另一个裸机Drupal安装,以查看问题是否与该特定站点或您的开发设置有关。
I know that this is an old post but I've just gone through this same struggle.
I've had a very slow Drupal 7 install on Windows 7 64bit virtual machine. I reliably had 20 second page load times. I struggled for a while and tried:
In the end the Host file changes made some difference but the main issue turned out to be the Drupal CRON.
As it turns out, because I was copying down my production installation to work on locally, the CRON wasn't able to do what it was supposed to when it ran locally. Therefore it never completed execution successfully.
Because the attempt failed, each new request would try to run the CRON again, hence the 20 second page execution times.
You can disable cron (eg, at Administration > Configuration > System > Cron (admin/config/system/cron), by setting the "Run cron every" value to "Never".
See here for more: https://www.drupal.org/cron
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.