By forumer on
I sent an email to my host and they said it's 16MB, but my Drupal's status says "PHP Memory Limit: 32M"
Which is right? Is Drupal's status report accurate or incorrect or is the "PHP Memory Limit: 32M" in Status Report is totally different to how much PHP Memory I am allowed on my site?
Comments
Drupal's indication of the
Drupal's indication of the PHP memory limit has always been accurate, in my experience.
Forumer, you can run
Are you on a shared hosting plan, or a VPS, Dedicated server. You might be able to to check phpinfo to see your server configuration. Just create a file with the following code;
Give it a name, and save it as a php file, i.e with .php extension, and put it in your home directory, or you drupal directory on your server, and navigate to it from your browser. There you will see your server configurations. I hope this helps.
I have e a shared hosting
I have e a shared hosting plan. Will that be ok to use that script?
=-=
yes. It will list the default php settings for the server.
I emailed my host to give me
I emailed my host to give me more memory, they said yes,
and the next day drupal reported 64mb rather than 32mb.
I have a cpanel backend.
There is an icon called 'php configuration'.
Under that there is a setting: Resource Limit -> memory_limit -> 64M
So it all seems accurate.
Also, if you only had 16mb, and added some modules, I'm fairly sure
you'd be seeing php memory errors. How many modules do you have installed?