Linux

How to change pure-ftpd port

pure-ftpd by default listens on port 21. We will change the FTP port from 21 to some other port. This

MySQL see all charsets

MySQL see all charsets

To see all charsets available on your MySQL installation, run the command maxlen column specifies how many bytes are required

wordpress

WordPress HyperDB

HyperDB is a WordPress plugin that allows you to use multiple MySQL database servers with large MySQL installations. It is

Ubuntu PHP OAuth

Warning: Use of undefined constant OAUTH_REQENGINE_CURL

On an Ubuntu server (Ubuntu 20.04.2 LTS) when running a PHP script, I get the following error. On checking phpinfo,

Enable SSL in Haproxy Docker Container

Enable SSL in Haproxy Docker Container

I have a haproxy container running on port 80. This container is started with command This haproxy used following configuration

PHP script to monitor exim mail queue

PHP script to monitor exim mail queue

When you run exim mail server, it is good to keep an eye on number of emails in mail queue.

centovacast

Install SSL on Centova Cast

Edit file Find Add below Restart Centova Cast At this point, you will be able to access Centova Cast on

VestaCP Free Hosting Control Panel

VestaCP Installer Compromised

VestaCP Free Hosting control panel compromised again. Hackers where able to get access to VestaCP infrastcuture server, allowing them to

Plesk Change PHP version

Change PHP version for a site in Plesk Command line

To change PHP version for a site, first find available PHP handlers, this can be done with command You need

error: ‘x264_bit_depth’ undeclared (first use in this function)

error: ‘x264_bit_depth’ undeclared (first use in this function)

When installing ffmpeg, i get error This is due to incompatability with ffmpeg and x264. What you can do is

Zend OPcache in phpinfo

Enable Zend OPcache in PHP

To enable Zend OPCache in PHP, edit php.ini add following to end of the file Now you may need to

Install Redis PHP Module from source

Install Redis PHP Module from source

To install Redis PHP module from source, run Once installed, edit your php.ini file, add following below extension_dir line Verify