To know the number of accesses to the database by your site on WordPress, you need to file the theme footer. php before the tag add the following code. <!–?php echo get_num_queries(); ?–> queries in <!–?php timer_stop(1); ?–> You will…
Month: March 2019
PHP page generation speed
To measure the speed of page generation in PHP, insert the following code at the beginning of the script: // Breathing start time of page generation $start_array = explode(” “,microtime());$start_time = $start_array[1] + $start_array[0]; And at the end of the…
Install Nginx, PHP, MySQL (Mariadb) on Ubuntu
-Would you be kind to me in which direction to go? -In the famous you, – replied the cat. -I don’t know it. -So, in the unknown. In any case, it is known that in a known time you will…