A Quick Quick Tip On Making Your WAMPSERVER Based Dev Stack To Run Faster with Drupal 7

28 May · by Tim Kamanin · 1 min read

It is so quick that I won't even publish an image with this post ;) OK, I've recently switched to Wampserver for my dev box and noticed that it is somewhat slow with Drupal 7. Increasing the realpath_cache_size (this is to do with opening a lot of files) put things back to normal. Set realpath_cache_size = 2M in your php.ini file. Enjoy and have a nice weekend (if you 're reading this on Saturday / Sunday).

Comments

Required for comment verification



Hussein

Trying this now, hope its speeds up

Reply · 6 years, 6 months ago
Rachel

Just came across this today. Way cool! Still takes a bit to initially load up, but admin screens are so much faster.

Reply · 6 years, 6 months ago
eigentor

Thanks a million for this tip! Having suffered long and hard from Apache running terribly slow on Windows 7, things got even worse with Drupal 7. As a logged in user, I had often (no kidding) page loading time of 1-2 minutes for the first time the site loads. After that it worked. Now with that bigger cache, I have the impression it loads much faster. If I am mistaking because the stuff needs to be cached first, at least after that it should be much faster. Everybody around me uses Macs and I get picked on a lot because of using Windows. But I in a strange way love Windows machines...

Reply · 6 years, 6 months ago
dalin

Doesn't WAMP ship with an opcode cache like APC or eAccelerator? I would think that these would bring you a lot more gain than using realpath_cache_size as a stop-gap.

Reply · 6 years, 6 months ago
eigentor

Hm, Am still not sure it was this config setting that helped. But installed D7 on the local machine for the first time after the change. Vroom... DB Tables created in 5 seconds. But it might as well be the new SSD and core i5 processor :D

Reply · 6 years, 6 months ago