Category Archives: PHP (en)
Reducing the CPU consumption of hosting. How to speed up any CMS site
Today, almost every site is not running on ancient HTML, but on the complex CMS, written in PHP. Most often it can be Joomla, WordPress, Drupal and so on. Since such CMS are quite “heavy” (and, frankly speaking, not very … Continue reading
How PHP Works
If we want to look at HTML: 1. The user requests a page with ‘clean’ html 2. The server checks if the page exists 3. if there is – returns the .html page to the user as it was on … Continue reading
The phpinfo function
phpinfo is a PHP service function that outputs information about the version, configuration and extensions of PHP; about the Apache server and its settings. To call this function, use the construct: <?php phpinfo(); ?> How do I locate the … Continue reading
PHP 7.1 → 7.2
In continuation of the post: “Reducing the CPU consumption of hosting. How to speed up any CMS site”. I switched to PHP 7.2. Hosting load is 20% less: On the axis of ordinates – CPU: the number of minutes … Continue reading
PHP: simple MySQL database query, form and button
Getting started with databases in PHP can seem daunting if you’re trying to eat an elephant right off the bat and making queries that are overly complex. Let’s start with the most basic simple database query to understand the general … Continue reading