Install PHP 7.2 on CentOS, RHEL

  Repositories configuration: On Fedora, standards repositories are enough, on Enterprise Linux (RHEL, CentOS) the Extra Packages for Enterprise Linux (EPEL) repository must be configured, and on RHEL the optional channel must be enabled. Fedora 27 wget dnf install remi-release-27.rpm Fedora 26 wget dnf install remi-release-26.rpm RHEL version 7.4 wget wget… Continue reading Install PHP 7.2 on CentOS, RHEL

Create TCPDF PHP Fonts

TCPDF supports TrueTypeUnicode (UTF-8 Unicode), OpenTypeUnicode, TrueType, OpenType, Type1, CID-0 and Core (standard) fonts. You will find font creation utility at fonts/utils of TCPDF… copy desired font to fonts/utils/svnlabs.ttf * For TrueTypeUnicode # cd /var/www/html/tcpdf/fonts/utils # ttf2ufm -a -F svnlabs.ttf # php -q makefont.php svnlabs.ttf svnlabs.ufm * For embedded fonts to tcpdf PDF file.. copy the resulting svnlabs.php,… Continue reading Create TCPDF PHP Fonts

Categorized as php Tagged ,