{"id":556,"date":"2014-08-14T04:34:38","date_gmt":"2014-08-14T04:34:38","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=556"},"modified":"2014-08-14T04:34:38","modified_gmt":"2014-08-14T04:34:38","slug":"known-configure-errors-with-php","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/08\/14\/known-configure-errors-with-php\/","title":{"rendered":"Known configure errors with php"},"content":{"rendered":"<p>1. Configure: error: Please reinstall the BZip2 distribution<br \/>\n# yum install bzip2-devel<br \/>\n2. Configure: error: DBA: Could not find necessary header file(s).<br \/>\n# yum install gdbm-devel<br \/>\n# yum install db4-devel<br \/>\n3. Configure: error: libjpeg.(a|so) not found.<br \/>\n# yum install libjpeg-devel<br \/>\n4. Configure: error: libpng.(a|so) not found.<br \/>\n# yum install libpng-devel<br \/>\n5. Configure: error: freetype.h not found.<br \/>\n# yum install freetype-devel<br \/>\n6. configure: error: Please reinstall the libcurl distribution<br \/>\n# yum install curl<br \/>\n# yum install curl-devel<br \/>\n7. Configure: error: xslt-config not found. Please reinstall the libxslt >= 1.1.0 distribution<br \/>\n# yum install libxslt-devel >>>> fixed<br \/>\n8. xml2-config not found. Please check your libxml2 installation.<br \/>\n# yum install libxml2-devel<br \/>\n9. Kalau error Perl-URI<br \/>\n#wget http:\/\/mirror.centos.org\/centos-5\/5\/os\/i386\/CentOS\/perl-URI-1.35-3.noarch.rpm<br \/>\n#rpm -i perl-URI-1.35-3.noarch.rpm<br \/>\n10. Configure: error: utf8_mime2text() has new signature<br \/>\n#yum install libc-client-devel<br \/>\n11. Configure: error: libXpm.(a|so) not found.<br \/>\n# yum install gd-devel<br \/>\natau<br \/>\n#up2date -i gd-devel<br \/>\n12. configure: error: Cannot find OpenSSL\u2019s<br \/>\n# yum install openssl-deve<br \/>\n13. Checking for PCRE headers location\u2026 configure: error: Could not find pcre.h in \/usr<br \/>\n# yum install pcre-devel<br \/>\n14. Configure: error: Unable to locate gmp.h<br \/>\n# yum install gmp-devel<br \/>\n15. configure: error: Cannot find pspell<br \/>\n# yum install aspell-devel<br \/>\n16. The \u2018links\u2019 package is required for this functionality.<br \/>\n# yum search links<br \/>\n# yum install elinks<br \/>\n17. Error : [warn] module php5_module is already loaded, skipping<br \/>\n# edit httpd.conf terus Uncomment : #LoadModule php5_module modules\/libphp5.so<br \/>\n18. Configure: error: Did not find pcre-config script at \/usr\/local<br \/>\n# yum -y install pcre-devel<br \/>\n19. warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897<br \/>\n# rpm -import http:\/\/mirror.centos.org\/centos\/RPM-GPG-KEY-CentOS-5<br \/>\nERROR:  cannot restore segment prot after reloc: Permission denied<br \/>\nSolution:<br \/>\nchcon -t texrel_shlib_t \/etc\/httpd\/modules\/libphp5.so<br \/>\n20. Configure: error: mcrypt.h not found. Please reinstall libmcrypt<\/p>\n","protected":false},"excerpt":{"rendered":"<p>1. Configure: error: Please reinstall the BZip2 distribution # yum install bzip2-devel 2. Configure: error: DBA: Could not find necessary header file(s). # yum install gdbm-devel # yum install db4-devel 3. Configure: error: libjpeg.(a|so) not found. # yum install libjpeg-devel 4. Configure: error: libpng.(a|so) not found. # yum install libpng-devel 5. Configure: error: freetype.h not &#8230; <a title=\"Known configure errors with php\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2014\/08\/14\/known-configure-errors-with-php\/\" aria-label=\"Read more about Known configure errors with php\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[84],"tags":[],"class_list":["post-556","post","type-post","status-publish","format-standard","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/556","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=556"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/556\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=556"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=556"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=556"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}