This forum is no longer active. Please post your questions to our new community site

Forums Drupal

[solved] Slow Bitnami-Drupal on localhost

Subscribe to [solved] Slow Bitnami-Drupal on localhost 6 post(s), 3 voice(s)

 
Avatar the technaddict 8 post(s)

Sites running slow on local development machines seems to be a common theme at the moment and for a moment my heart sank as it cropped up in the Bitnami Stack that has otherwise solved many problems for me…

Then I realised that my site probably has lots of file operations and increased the size of the variable realpath_cache_size in php.ini

Now its zipping along again.

To find the php.ini file that was being used I cheated and dropped a phpinfo file into the directory with the Drupal index file in it apps/drupal/htdocs

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Thanks for posting it!

 
Avatar topsy 4 post(s)

Hi, I am having the same problem but I am a newbie and do not understand how to apply the above fix. Would it be possible to elaborate or maybe post a step by step solution? thanks

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

The problem that the previous user reported was resolved increasing the value of the “realpath_cache_size” in the php.ini file. You can find more info about PHP configuration at http://wiki.bitnami.com/Components/PHP

 
Avatar topsy 4 post(s)

Thanks, but doing this did not solve my problem. I eventually gave up and tried to install drupal on wamp but similar speed problems occured. On wamp it resulted in a timeout during the install process. Seems that this is a common problem and nobody has been able to solve it on either platform. I am running windows 7 32 bit and have tried using Firefox and Chrome (one user suggested this on the wamp forum). I have installed Wordpress on Bitnami and wamp with no problems (I dont have Bitnami and wamp installed on the same machine) Any ideas?
Just in case this helps: Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\drupal\includes\database.mysqli.inc on line 115

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

This could be a timing issue. Try the following:

Change the follwing line in your_installation_directory\php\php.ini

From:
max_execution_time = 30 ; Maximum execution time of each script, in seconds

To:
max_execution_time = 60 ; Maximum execution time of each script, in seconds

Forums Drupal