If l increase PHP memory limit will my site load faster ?
l use cloud server 6gb ram , current PHP memory limit setting = 512mb
How much should l setting for best performance ?
Thank you.
If l increase PHP memory limit will my site load faster ?
l use cloud server 6gb ram , current PHP memory limit setting = 512mb
How much should l setting for best performance ?
Thank you.
There are several factors that depends for the site to load faster?
Web servers are just like any other computer. They need memory to efficiently run multiple applications at the same time. Server administrators allocate specific memory size to different applications including PHP. PHP memory limit can be stated as RAM in the computer device..
Reference site: http://www.wpbeginner.com/wp-tutorials/fix-wordpress-memory-exhausted-error-increase-php-memory/
In general terms, no, it's a good answer. Memory limit sets how many memory can you use in an execution of a single script after being blocked.
In a very low case, if the script is prepared to be executed, for example, 10 times to process 100 tasks, but you can parametrize to do 100 tasks in a single execution the performance will be incremented.
The recommended memory_limit value is related with your application and its limited by the physical (or virtual) memory on your machine, but you can't define in base of that.