Step 1. Install imagemagick on the server: yum -y install ImageMagick-devel ImageMagick-c++-devel ImageMagick-perl To check if installed: /usr/bin/convert --version Step 2. Install the imagick PHP extension to all PHP versions on the cPanel server:...
Here is how to install Redis daemon on a cPanel/WHM server and add the Redis PHP extension to each EasyApache PHP version. Step 1. Install Redis daemon: rpm -ivh rpm -ivh yum -y install redis --enablerepo=remi --disableplugin=priorities systemctl...
Like many other PHP scripts, WordPress also uses PHPmailer to send transactional emails. If no email is set for sending emails, WordPress will use the default cPanel email account (username@domain.com) which isn’t pretty. To specify...
25.11.2021 -exactly a year ago since the release of PHP 8.0 the version 8.1 is rolled out, and with it, new features and a significant speed increase. From the point of a Webmaster that uses Laravel or WordPress, it’s important to note that 8...
Here is how to fix the following error: Connection to [/tmp/lshttpd/lsphp5.sock] on request #0, confirmed, 0, associated process: -1, running: 0, error: Connection reset by peer! error_log: 2021-01-28 10:05:51.751 [INFO] [lsphp5] PID: 45143, add...
Recently I did security and pen-testing assessment of a web application written entirely in PHP, and some of the biggest issues I’ve come along were in-code vulnerabilities to 💉 SQL injections. To fix this, I recommended using prepared...
cURL is a most excellent library that enables you to communicate across a network with a number of protocols. PHP integrated the cURL library early in its development and nowadays its use is widespread across countless applications. To read more...
Murmurhash is a nice and speedy hashing algorithm that is handy for creating hash values based on strings. I use it often as benchmarks suggest it is one of the speedier implementations out there. Murmurhash can create 32-bit or 128-bit outputs. In...
Whether operating a commercial site, a directory, or a personal site, it is important to ensure you do not have ‘dead’ links on your website. Broken links; links that point to inactive domains or 404 pages are of little use to your site...
XML Sitemaps are a useful method for search engines to quickly pick up new content they would otherwise have to find via hyperlinks on the web. Sitemaps can also provide useful metadata regarding URLs such as its last modification date, how often...