PHP Memory -1MB?

wordpress

#1

Hi,
For some reason UpdraftPlus thinks I have -1 MB of PHP memory. I believe I have a standard install of PHP.

I searched the forum and found answers about how to edit the PHP memory, but it seems the default should be enough for my purposes.

Where can I go to confirm the actual memory PHP has allocated?

Thanks!
Maida


#2

Create a file named php_memory.php

Edit to read:

<?php
echo memory_get_usage():
?>

Upload that to your server and access it through your browser.

For ways on how to convert that to useful numbers, see http://php.net/manual/en/function.memory-get-usage.php


#3

Thanks, I will try that.

Best,
Maida


#4

You can check the php memory limit from your cPanel >> Select PHP version >> Switch to PHP settings >> php_memory_limit

Or

You can create a phpinfo.php file under public_html and add the php code in it.

Once you have created the phpinfo,php file you can access it from domainname/phpinfo.php

Regards,
Garanntor web hosting
web hosting |
hosting nigeria |
hosting south africa |
hosting kenya