Available Resources in PHP
First, let's figure out what resources of the computer (hosting) your site consumes when PHP is running. These resources are CPU time and RAM.
CPU time is the time during which the hosting processor executes your script. This is the factor that affects the execution time of your PHP code. The more time the processor spends executing your script, the longer the pages of your site will take to load.
RAM, although it does not directly affect page loading speed, is also a valuable resource that needs to be conserved.
Conserving these two resources is what this section will be dedicated to.