Hi guys,
I'm quiet new to plesk, but still got some websites up and running fine. But now I need some help and hope to find it here.
Yesterday I set up Nextcloud (Owncloud-Fork) and after the installation I saw some suggestions in the Nextcloud-Webinterface, which told me to do some changes in my php-settings (like enabling caching and so on)
On a info-site Nextcloud reported that my server has its memory_limit set to 512MB, which surprised my, because in my Serviceplan, in my domain-settings and in my subdomain-settings (I have created cloud.domain1.com for nextcloud) this memory_limit is set to 128M. So I started investigating...
I created a php-info file and it displays for me:
memory_limit 512M (local value) 128M (master value)
As far as I understood the local value overrides the master value and this is why nextcloud is displaying the memory_limit with 512MB. So far so good...
As a next-step, I changed the php-settings of my subdomain. I changed the memory_limit from 128M (default) to 129M and after that the php-info showed:
memory_limit 129M (local value) 129M (master value)
Conclusion:
- When I set memory_limit to the default value (128M), the local value is in fact 512M
- When I set it to another value, both (master and local) values will change - this could be the solution, but I want to understand this issue.
- this is the case for all php-settings, not just memory_limit
Questions:
- Where is the setting "memory_limit 512M" coming from?
- Why is it the local value and why is the value that I define in my subdomain-setting not the local value?
Hope someone can help me!
Best regards
I'm quiet new to plesk, but still got some websites up and running fine. But now I need some help and hope to find it here.
Yesterday I set up Nextcloud (Owncloud-Fork) and after the installation I saw some suggestions in the Nextcloud-Webinterface, which told me to do some changes in my php-settings (like enabling caching and so on)
On a info-site Nextcloud reported that my server has its memory_limit set to 512MB, which surprised my, because in my Serviceplan, in my domain-settings and in my subdomain-settings (I have created cloud.domain1.com for nextcloud) this memory_limit is set to 128M. So I started investigating...
I created a php-info file and it displays for me:
memory_limit 512M (local value) 128M (master value)
As far as I understood the local value overrides the master value and this is why nextcloud is displaying the memory_limit with 512MB. So far so good...
As a next-step, I changed the php-settings of my subdomain. I changed the memory_limit from 128M (default) to 129M and after that the php-info showed:
memory_limit 129M (local value) 129M (master value)
Conclusion:
- When I set memory_limit to the default value (128M), the local value is in fact 512M
- When I set it to another value, both (master and local) values will change - this could be the solution, but I want to understand this issue.
- this is the case for all php-settings, not just memory_limit
Questions:
- Where is the setting "memory_limit 512M" coming from?
- Why is it the local value and why is the value that I define in my subdomain-setting not the local value?
Hope someone can help me!
Best regards