[Dompdf] PHP Fatal error: Class DOMImplementation not found After fixing undefined function mb_internal_encoding encountered an another error “Uncaught Error: Class DOMImplementation not found“. Below is the complete error:...
Fix Class ZipArchive not found error [PHP 7] Question: I am stuck with an error “PHP Fatal error: Uncaught Error Class ZipArchive not found” in one of the...
Remove .php extension from the URL [htaccess] I love PHP, but my boss does not. Once, he was not happy to see the project coded in PHP...
Failed to connect to server: php_network_getaddresses: getaddrinfo failed [Fix] “SMTP ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed”. Well, this is how my week started. One of my...
Install Oniguruma on PPC64LE machine with CentOS Have you ever tried installing Oniguruma on POWER PC with CentOS 7? Well, I did that and it was a...
Cannot find pspell – Fix PHP Configuration Error Question: I was trying to compile PHP 7.4.5 in CentOS 7 on ppc64le architecture. The reason for compiling PHP 7...
Add Overlay Text to Video using PHP-FFMpeg I recently learned how to add an audio track to the video using PHP-FFMpeg. Now I wanted to add overlay text to...
PHP-FFMpeg: Allow multiple input files (Add audio to the video) My recent assignment was to develop an online video editing software similar to Biteable, Moovly etc..Well, I knew I could ...
Using PHP encoders to Protect Source Code [phpBolt example] How to protect PHP source code? Well, this is one of the most asked question among PHP developers. Many PHP...
How to Install phpize in Ubuntu? Question: I got an error phpize not found while installing PHP-SSH2 extension on Ubuntu. How to install phpize in Ubuntu?...
Hide Nginx & PHP versions in HTTP Header & Error Pages If you had followed my guide to install the LEMP stack then, by default Nginx configuration sends HTTP header with...
PHP Script to Extract URLs from Webpage Are you looking for a PHP script to extract URLs from webpage? This tutorial will provide a code snippet that...
Upgrade PHP 5.3 to PHP 7.0 using yum on CentOS/RHEL/Fedora My web server was running PHP version 5.3 for a long time and now I would like to en-cash the...
How to List Modules Loaded or Enabled in PHP from command line Question: With the help of Webserver optimization guide, I was able to reduce the server load and improve website performance. But then PHP...
Fix PHP Error – It is not safe to rely on the system’s timezone settings Do you see this error “It is not safe to rely on the system’s timezone settings” (PHP timezone setting error) ...
Plugin Generated x Characters of Unexpected Output During Activation [Fix] While developing a new plugin for WordPress, I ran into an error “Plugin Generated x Characters of Unexpected Output During...
file_get_html returns null, but cURL should fix it [PHP] I have been using file_get_html function of Simple HTML DOM parser to parse and extract the contents of a remote...
Fix HTTP 403 Forbidden, Failed to Open Stream – PHP Copy function I wrote a simple PHP program to copy an image from a website to local directory. The copy() function will...
How to install LEMP on Ubuntu 14.04 LTS LEMP is a group of open source software stack used to setup web server, database and PHP on a Linux...
Install PHP 7 on a fresh Ubuntu VPS: [Fix] Unable to locate package PHP Recently one of my client provided a fresh VPS and asked me to install PHP 7, Apache and MySQL. While...