I increased memory_limit to 512M in the plesk panel, then i ran phpinfo() and tested this two addresses:

fanap.ir/phpinfo.php ----> memory_limit=512M
test.fanap.ir/phpinfo.php ----> memory_limit=128M

How can i increase memory_limit of subdomains?

Comments

agentrickard’s picture

That sounds like a Plesk issue based on how your host applies memory settings to the server configuration.

Easier to add this to the bottom of sites/default/settings.php:

ini_set('memory_limit', '512M');

Assuming, of course, that your host allows run-time setting of PHP vars.

agentrickard’s picture

Status: Active » Closed (works as designed)
agentrickard’s picture

Issue summary: View changes

writing mistake