Using Yii 2 is really easy, but for a newbie sometimes the Gii (i.e. the code generator helper tool) may generate a code, which only…
Tag: php
How To Install Linux, Apache, MySQL (MariaDB), PHP-FPM (LAMP) Stack on CentOS Stream 9
This article describes how to install a Web server with application back-end PHP and database back-end MySQL using MariaDB. In continuing the same topic, but…
How To Install Linux, Nginx, MySQL (MariaDB), PHP-FPM (LEMP) Stack on CentOS Stream 9
This article presents how to install a Web server with application back-end PHP and database back-end MySQL using MariaDB. All the software installed throughout this…
Mirror a PPA repositories using aptly – PHP (ppa:ondrej/php)
This is a simple example of how to mirror a PPA repository to a local server. The Ubuntu PPA to mirror is ppa:ondrej/php, which offers…
Ubuntu with PHP 7.2 and mcrypt module
As mentioned in our previous article PHP 7.2 or PHP 7.3 with mcrypt – manual build the PHP versions 7.2 and 7.3 do not include…
PHP 7.2 or PHP 7.3 with mcrypt – manual build
Newer PHP versions do not include PHP mcrypt library. The mcrypt module was part of PHP 5 till 7.1, in which it was deprecated and…
nginx with php fpm (fastcgi) and the warning – an upstream response is buffered to a temporary file /var/cache/nginx/fastcgi_temp
As the web grows and the technology advances the page size of the web sites also grows or just some times you might want to…
php-fpm memcached – Unknown: Failed to write session data (memcached) when using persistent connections
Several reports in the Internet with such error: But no real solutions worked for us. Here is our setup: Several web servers servers (using php-fpm…
PHP missing xml extension – Fatal error: Uncaught Error: Class DOMDocument not found
We upgraded one of our servers and at first did not notice this error. Soon logs began to fill with this error: Apparently, we missed…
PHP module compilation error – libtool: Version mismatch error
If you happen to get this error trying to build your own a PHP module (probably, because you need a newer version than the included…