{"id":141,"date":"2011-01-10T06:27:32","date_gmt":"2011-01-10T06:27:32","guid":{"rendered":"http:\/\/www.linuxmaster.tk\/?p=141"},"modified":"2011-01-10T06:27:32","modified_gmt":"2011-01-10T06:27:32","slug":"how-to-install-freetype-support-for-your-php-installation","status":"publish","type":"post","link":"https:\/\/linuxmaster.in\/?p=141","title":{"rendered":"How To Install Freetype Support for Your PHP Installation"},"content":{"rendered":"<p>The easy step is to compile apache with Free Type Support<\/p>\n<p>\/scripts\/easyapache<\/p>\n<p>Else do as given below:<\/p>\n<p>You might need it if you work with GD library and if you want to add text on pictures<\/p>\n<p>First Install delevel as given below by issuing the following command: <strong> yum install freetype-devel.<\/strong><\/p>\n<p><strong>cd \/usr\/local\/directadmin\/customapache\/php-4.4.8; <\/strong><\/p>\n<p>Let\u2019s take a look at what we have in PHP configuration:<\/p>\n<p><a href=\"http:\/\/www.linuxmaster.tk\/wp-content\/uploads\/2011\/01\/php.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-142\" title=\"php\" src=\"http:\/\/www.linuxmaster.tk\/wp-content\/uploads\/2011\/01\/php-300x225.png\" alt=\"\" width=\"284\" height=\"214\" srcset=\"https:\/\/linuxmaster.in\/wp-content\/uploads\/2011\/01\/php-300x225.png 300w, https:\/\/linuxmaster.in\/wp-content\/uploads\/2011\/01\/php.png 500w\" sizes=\"auto, (max-width: 284px) 85vw, 284px\" \/><\/a><\/p>\n<p>Now save current configuration and will append freetype to my configure string. For me it\u2019s the following string:<br \/>\n<code>.\/configure --with-apxs --with-curl --with-curl-dir=\/usr\/local\/lib --with-gd --with-gd-dir=\/usr\/local --with-gettext --with-jpeg-dir=\/usr\/local\/lib --with-kerberos --with-mcrypt --with-mhash --with-mysql=\/usr --with-pear --with-png-dir=\/usr\/local\/lib --with-xml --with-zlib --with-zlib-dir=\/usr\/local\/lib --with-zip --with-openssl --enable-bcmath --enable-calendar --enable-ftp --enable-magic-quotes --enable-sockets --enable-track-vars --enable-mbstring --enable-memory-limit --with-iconv --enable-dba --with-db4 --with-freetype-dir=\/usr\/include\/freetype2\/ --with-freetype<\/code><\/p>\n<p><strong>Then do make clean<\/strong>, <strong>make<\/strong>, <strong>make install<\/strong> and <strong>service httpd restart.<\/strong><\/p>\n<p>Now you\u2019re welcome to use freetype functions in PHP<\/p>\n<p>Send a mail to linuxmaster007@gmail.com for any issues in it.<\/p>\n<p><strong><br \/>\n<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The easy step is to compile apache with Free Type Support \/scripts\/easyapache Else do as given below: You might need it if you work with GD library and if you want to add text on pictures First Install delevel as given below by issuing the following command: yum install freetype-devel. cd \/usr\/local\/directadmin\/customapache\/php-4.4.8; Let\u2019s take a &hellip; <a href=\"https:\/\/linuxmaster.in\/?p=141\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;How To Install Freetype Support for Your PHP Installation&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-141","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/posts\/141","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=141"}],"version-history":[{"count":1,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions"}],"predecessor-version":[{"id":143,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=\/wp\/v2\/posts\/141\/revisions\/143"}],"wp:attachment":[{"href":"https:\/\/linuxmaster.in\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=141"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=141"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxmaster.in\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=141"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}