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 http://rpms.remirepo.net/fedora/remi-release-27.rpm dnf install remi-release-27.rpm Fedora 26 wget http://rpms.remirepo.net/fedora/remi-release-26.rpm dnf install remi-release-26.rpm RHEL version 7.4 wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm wget http://rpms.remirepo.net/enterprise/remi-release-7.rpm… 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

Published
Categorized as php Tagged ,