https://techglimpse.com For all your Tech Needs! Mon, 04 Sep 2023 08:13:53 +0000 en-US hourly 1 https://wordpress.org/?v=5.4.6 [Dompdf] PHP Fatal error: Class DOMImplementation not found https://techglimpse.com/dompdf-php-fatal-error-class-domimplementation-not-found/ https://techglimpse.com/dompdf-php-fatal-error-class-domimplementation-not-found/#respond Mon, 04 Sep 2023 08:13:47 +0000 https://techglimpse.com/?post_type=ht_kb&p=43543 After fixing undefined function mb_internal_encoding encountered an another error “Uncaught Error: Class DOMImplementation not found“. Below is the complete error: Error: [Fri Jun 16 11:07:04.798269 2023] [php7:error] [pid 820060] [client techglimpse.com:21132] PHP Fatal error: Uncaught Error: Class 'DOMImplementation' not found in /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php:172\nStack trace:\n#0 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/masterminds/html5/src/HTML5.php(157): Masterminds\\HTML5\\Parser\\DOMTreeBuilder->__construct()\n#1 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/masterminds/html5/src/HTML5.php(89): Masterminds\\HTML5->parse()\n#2 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/dompdf/vendor/dompdf/dompdf/src/Dompdf.php(478): Masterminds\\HTML5->loadHTML()\n#3 /var/www/html/wordpress/wp-content/plugins/pdfgenerate/formprocess.php(143):...

The post [Dompdf] PHP Fatal error: Class DOMImplementation not found appeared first on Techglimpse.

]]>
0
Fix Class ZipArchive not found error [PHP 7] https://techglimpse.com/fix-class-ziparchive-not-found-error-php/ https://techglimpse.com/fix-class-ziparchive-not-found-error-php/#respond Wed, 20 Apr 2022 12:30:47 +0000 https://techglimpse.com/?post_type=ht_kb&p=43289 Question: I am stuck with an error “PHP Fatal error: Uncaught Error Class ZipArchive not found” in one of the opensource PHP application installed on our server. The server uses PHP 7.2 with Apache web server. Could you help me to fix this error? Solution: Fix Class ZipArchive not found...

The post Fix Class ZipArchive not found error [PHP 7] appeared first on Techglimpse.

]]>
0
Remove .php extension from the URL [htaccess] https://techglimpse.com/remove-php-extension-url-htaccess/ https://techglimpse.com/remove-php-extension-url-htaccess/#comments Thu, 11 Nov 2021 12:10:07 +0000 https://techglimpse.com/?post_type=ht_kb&p=42558 I love PHP, but my boss does not. Once, he was not happy to see the project coded in PHP by seeing the .php extension on the URL, citing the reason as it is an old language and many new languages like NodeJS have emerged which should’ve been used to...

The post Remove .php extension from the URL [htaccess] appeared first on Techglimpse.

]]>
10
Failed to connect to server: php_network_getaddresses: getaddrinfo failed [Fix] https://techglimpse.com/php_network_getaddresses-getaddrinfo-failed-fix/ https://techglimpse.com/php_network_getaddresses-getaddrinfo-failed-fix/#comments Mon, 12 Oct 2020 19:30:29 +0000 https://techglimpse.com/?post_type=ht_kb&p=42069 “SMTP ERROR: Failed to connect to server: php_network_getaddresses: getaddrinfo failed”. Well, this is how my week started. One of my client’s website running WordPress and Easy WP SMTP plugin failed to send mails. Though I rechecked all the mail configurations, test mails via Easy WP SMTP failed with the above...

The post Failed to connect to server: php_network_getaddresses: getaddrinfo failed [Fix] appeared first on Techglimpse.

]]>
1
Install Oniguruma on PPC64LE machine with CentOS https://techglimpse.com/install-oniguruma-on-ppc64le-machine-with-centos/ https://techglimpse.com/install-oniguruma-on-ppc64le-machine-with-centos/#respond Mon, 11 May 2020 07:48:14 +0000 https://techglimpse.com/?post_type=ht_kb&p=41888 Have you ever tried installing Oniguruma on POWER PC with CentOS 7? Well, I did that and it was a nightmare. I ended up with an error “configure: error: Package requirements (oniguruma) were not met. No package ‘oniguruma’ found” while configuring PHP 7.4.3. Oniguruma is a dependant package for enabling...

The post Install Oniguruma on PPC64LE machine with CentOS appeared first on Techglimpse.

]]>
0
Cannot find pspell – Fix PHP Configuration Error https://techglimpse.com/cannot-find-pspell-fix-php-configuration-error/ https://techglimpse.com/cannot-find-pspell-fix-php-configuration-error/#respond Sat, 09 May 2020 09:54:23 +0000 https://techglimpse.com/?post_type=ht_kb&p=41883 Question: I was trying to compile PHP 7.4.5 in CentOS 7 on ppc64le architecture. The reason for compiling PHP 7 instead of using yum install is because, there are no repository that provides PHP 7, including remi. Ok, I get this error “configure: error: Cannot find pspell” while configuring PHP....

The post Cannot find pspell – Fix PHP Configuration Error appeared first on Techglimpse.

]]>
0
Add Overlay Text to Video using PHP-FFMpeg https://techglimpse.com/add-overlay-text-video-php-ffmpeg/ https://techglimpse.com/add-overlay-text-video-php-ffmpeg/#comments Tue, 03 Dec 2019 01:18:53 +0000 https://techglimpse.com/?post_type=ht_kb&p=41425 I recently learned how to add an audio track to the video using PHP-FFMpeg. Now I wanted to add overlay text to video. The FFmpeg command-line tool accepts drawtext filter using the libfreetype library.  The catch is, everything that’s possible in the FFmpeg command-line is not possible in PHP-FFMpeg, but this one...

The post Add Overlay Text to Video using PHP-FFMpeg appeared first on Techglimpse.

]]>
2
PHP-FFMpeg: Allow multiple input files (Add audio to the video) https://techglimpse.com/php-ffmpeg-multiple-input-files/ https://techglimpse.com/php-ffmpeg-multiple-input-files/#comments Wed, 27 Nov 2019 00:55:43 +0000 https://techglimpse.com/?post_type=ht_kb&p=41418 My recent assignment was to develop an online video editing software similar to Biteable, Moovly etc..Well, I knew I could  use PHP-FFmpeg library that allows me to write PHP script and that can interact with ffmpeg installed on the system. One of the requirement in the project was to add an...

The post PHP-FFMpeg: Allow multiple input files (Add audio to the video) appeared first on Techglimpse.

]]>
1
Using PHP encoders to Protect Source Code [phpBolt example] https://techglimpse.com/php-encoders-protect-source-code/ https://techglimpse.com/php-encoders-protect-source-code/#comments Thu, 29 Aug 2019 04:59:43 +0000 https://techglimpse.com/?post_type=ht_kb&p=41226 How to protect PHP source code? Well, this is one of the most asked question among PHP developers. Many PHP developers need to protect their application source code before they distribute it to their customers and make it difficult for others to modify it without their permission. If you are...

The post Using PHP encoders to Protect Source Code [phpBolt example] appeared first on Techglimpse.

]]>
8
How to Install phpize in Ubuntu? https://techglimpse.com/install-phpize-ubuntu-tutorial/ https://techglimpse.com/install-phpize-ubuntu-tutorial/#respond Sun, 14 Oct 2018 01:19:58 +0000 https://techglimpse.com/?post_type=ht_kb&p=41082 Question: I got an error phpize not found while installing PHP-SSH2 extension on Ubuntu. How to install phpize in Ubuntu? Solution: How to install phpize in Ubuntu phpize is a PHP command that helps to prepare an extension for compilation. It’s basically a shell script that makes an extension ready...

The post How to Install phpize in Ubuntu? appeared first on Techglimpse.

]]>
0