Welcome to the myhosting.com Forums.
-
How do you increase PHP Memory Limit?
The current php memory limit of 41943040 bytes is too small as I am hitting the wall with Drupal. Their recommendation is 64M but they would even prefer 128M. I have tried to set this though the .htaccess file in my root drupal folder to no avail.
Is there a way I can do this or do I need myhosting tech to increase it for me?
I did find another .htaccess file in the webspace folder, but it is locked. I couldn't locate a php.ini file to edit the setting either.
-
Hi There,
Which hosting plan do you have? File Manager and FTP doesn't allow you to access php.ini
If you use VPS, You can try this.
SSH into your server
Log in as root.
Type the following and hit enter: vi /usr/local/lib/php.ini
Now that you’re in vi
Press the “i” key. This puts you in “insert” mode, which basically
allows you to edit things.
when you`ve done with modification
Press escape, then type :wq and hit enter. That says “save the file
and quit.”
If You`re in shared hosting, You should ask customer care to increase memory limit.
You can also try this module Drupal tweaks | drupal.org
Cheers
-
could you give it a shot now and let me know if you're still having trouble?
-Jeremya
-
I'm in shared hosting and don't have access to SSH. I will try sending a ticket. Wow, though, thanks for the quick response!!
(^_^)
-
Also, it doesn't look like Drupal Tweaks has a Drupal 7 version, but thanks!
Similar Threads
-
By OhDonna in forum Troubleshooting
Replies: 1
Last Post: 2011-12-12, 06:57 AM
-
By roger in forum Virtual Server
Replies: 3
Last Post: 2011-10-16, 09:58 PM
-
By Stoddard in forum Virtual Server
Replies: 1
Last Post: 2011-09-23, 09:46 AM
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
Version 4.1.7
Copyright ©2000 - 2013
All times are GMT -4. The time now is 01:05 PM.