Started playing around with Drupal, and got this advice in my status report. Put simply I needed to increase the amount of memory available to PHP as I only had 64M available to it. My hosting is with Godaddy and after much Googling found a couple of possible solutions – add a line to .htaccess or edit the settings.php file in /sites/default.

First off, tried adding a line to .htaccess as explained here. It didn’t work. So I went for modifying “settings.php” (instructions at the same link I just referred to). Editing the file was no problem, uploading it was. My FTP Client couldn’t do it (I just got “critical error” each time it failed), and modifying permissions on the file, and it’s parent directory didn’t help either. Drupal “protects” the settings.php file as a security measure, and nothing my FTP client could do would get around it (that may just be a good thing).

The answer to overwriting this file with a Godaddy account is to use Godaddys’ own file manager. Log into your hosting account and make your way to hosting control center>content>file manager. Browse your way to the folder sites/default then click the little “Upload” icon, tick the “overwrite” checkbox and then use the browse to locate your modified settings.php. Worked for me ;)

phpmemory

Leave a Reply

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>