SLOW Drupal over localhost | windows7 EasyPHP 64x


I am running Drupal 7.16 on my laptop (Windows7 x64 with 6 GB of RAM via EasyPHP12.1).
So far, drupal is very slow!

I'm already trying:

  • Increase php.ini realpath_cache_size to 24M
  • Change my.ini innodb_flush_log_at_trx_commit to 0
  • Modify the hosts to resolve the ipv6 error.
  • Try a different solution for wamp
  • It seems that when I run a simple query ( SELECT uid FROM users ), phpMyAdmin returns a quick response (0.0009s) ..
  • Another drupal load also slows down ...

Thanks,
~ Almog

* I also tried UniformServer, and it is still slow, and changing my.ini, linking to posts here (stack websites) and follwing drupal.org
** Wordpress seems to load quickly, so it seems that the problem is only with drupal?

+4
source share
7 answers

My solution at the moment:

  • Remove all WAMP services
  • Reinstall and configure the latest version of EasyPHP (enable only additional php plugins!)
  • Install the latest EasyPHP components
  • php.ini fix for new dir directory in some places (e.g. xdebug)
  • Memory_limit increase
  • clear all caches (browser and drupal)
  • using mini jquery by drupal (admin-> performance)
  • completely reboot my computer and remove some software from startup

Now it works much better! not perfect .. but this is mainly because I want drupal in deployment mode!

* Deafults EasyPHP setup done well! nothing to change! *

+2
source

You have two ways:

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

2) Use some pre-configured software: acquia , vagrant

+3
source

There are two solutions for handling Drupals slowness on a Windows machine:

1. Host file settings

Make the following changes to your hosts file ...

I am. Call the apache web server address by IP address. On the local computer, this is 127.0.0.1

II. Comment :: 1 local line in the hosts file, which is a mapping in TCP / IP v6

2. Disable / configure the TCP / IP v6 protocol of your network interface

There are two options ...

I am. Disable the TCP / IP v6 protocol of your network interface so that the windows do not try to resolve your hostname to the ipv6 address.

II. ipv6 does not need to be disabled. Open a command prompt as an administrator and use the following commands on the command line.

 netsh interface portproxy add v6tov4 listenport=80 connectport=80 

80 is your web server port of course

+2
source

Drupal always starts slowly for me when hosted on Windows. I tried xampp, bare bones apache / php / mysql installs and zend server. 32 or 64 bits does not seem to matter much for speed, but 32-bit builds seem more affordable. So far, zend looks a little better, but not as fast as a real Linux server. Have you tried VirtualBox with Ubuntu or other Linux? I started the Ubuntu server with 8 GB of RAM in my office, and it was as fast as a decent VPS server. I suggest you try it if you haven't done it yet.

0
source

Everyone knows that slow sites are bad for businesses and users of your site. However, solving a problem can be difficult, slow to implement, and often requires starting from scratch.

I use the wamp server for my drupal projects on Windows 7. It works very well. It all depends on how you set up your project. I do not use any caching technique for my project. The system has 1 million users. I set up a database for this so that it loads data very quickly.

For your application, I would recommend you do something.

  • Performance module settings and how they work.
  • Caching is the Biggest Win and How to Implement Boost
  • Other quick hits: from loading searches, setting preferences, and why it is important to use cross-country
  • Ask your host about APC and how to set it up correctly.
  • Look at the database? Easy changes to help a lot!
  • Monitoring Best practices - what to configure to make sure that you know what is happening with your server.
0
source

Try starting another Drupal installation to see if there is a problem with this particular site or your development setup.

0
source

I know this is an old post, but I just survived this very struggle.

I had a very slow installation of Drupal 7 on a Windows 7 64-bit virtual machine. I reliably had 20 seconds of page loading. For some time I struggled and tried:

  • disabling IPv6
  • localhost settings
  • increased memory limits
  • Since my local host is a development machine, I did not want caching and caching of operation code to be enabled all the time, although I tried to do it.

As a result, changes to the host file made some changes, but Drupal CRON turned out to be the main problem.

As it turned out, since I copied my production installation to work on the local computer, CRON was unable to do what was supposed to be when it started locally. Therefore, it never completed execution successfully.

Since the attempt failed, each new request will try to run CRON again, therefore, the execution time is 20 seconds.

You can disable cron (for example, in Administration> Configuration> System> Cron (admin / config / system / cron) by setting the "Run cron every" parameter to "Never".

See here for more details: https://www.drupal.org/cron

0
source

Source: https://habr.com/ru/post/1443114/


All Articles