drupal increase memory

by kevin on October 10, 2009

drupal increase memory

Drupal is a content Management System that is free and open source. It is used by hundreds of thousands of users and is being supported by a number of communities. Though it is tested to be workable and not to disappoint users, there are some things that you need to know about using Drupal in order to utilize its full potential.

Memory problem in remembering administration passwords. Of course, this is not Drupal’s fault, it is more of a user dysfunction. However, this problem should be addressed since it is very common and, as simple as its solution may seem, a lot of people still experience this. The simplest thing that you could do is just go directly to the password recovery system. However, if this does not work, there are other things that you could try. From the drop-down menu on the left and then click on the database that Drupal utilizes. Select the tab for the SQL and a text field will come out. In the text field type “update users set pass-md5(‘YOURPAS’) where uid = 1. What this code means is that YOURPAS is the new admin password that you would want to use. After typing the text, just click go and, if there are no other problems, you already have your new password. This kind of option is very helpful if you forgot the email used for making the admin account and/or the email you used is already non existent.

Memory size exhausted. You need 16MB in your PHP memory to be able to use Drupal 6. However, there are instances that you would need more than this. If ever you encounter this problem, you can try these steps. First, add this line at the end of the setting.php file – ini_set(‘memory_linit’, 64 M’). Second, you can go to the htaccess file in the directory and override PHP settings and in the sites/default/settings.php. Then, add this line – php_value memory_limit 64 M. What you need to know about this one is this chane cannot be incorporated during running time. And the third, which does not require any knowledge encoding is just to directly request the hosting company you are using to increase the memory.

These are bit just two of the many things that you need to know in order to maximize your use of Drupal. Try your way around and always look for ways to improve what Drupal can do. That is, after all, why it was made as a free and open source content management system.

About the Author:

The author is directly connected with AlgoZone, a leader in creation top notch shopping cart templates. He is also the owner of the Ecommerce Wisdom blog, the blog that brings light to eCommerce, giving you all the information you need from the how's-to the why's and even the best shopping cart solution software for your online business.

Article Source: ArticlesBase.com - Common Problems and Solutions in Using Drupal

Share

Leave a Comment

Previous post: psychokinesis exercises

Next post: yoga meditations