Jump to content

php memory_limit


Recommended Posts

Hi,

I have shared hosting and phpinfo() shows memory_limit set at 128mb

However going to BO->advanced parameters->configuration information shows

 

Server information

 

Server information:

Server software version: Apache

PHP version: 5.3.16

Memory limit: 32M

Max execution time: 30

 

why are both showing different?

Link to comment
Share on other sites

I have shared hosting and phpinfo() shows memory_limit set at 128mb

However going to BO->advanced parameters->configuration information shows ... 32MB

 

Back office shows what is available. Create a file, e.g. mem.php, with the following content and add it to any directory and call it. What do you see?

 

<?php
echo ini_get('memory_limit');
?>

 

Marty Shue

Link to comment
Share on other sites

×
×
  • Create New...