{"id":440,"date":"2024-06-21T12:04:11","date_gmt":"2024-06-21T12:04:11","guid":{"rendered":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/?p=440"},"modified":"2024-06-22T06:45:23","modified_gmt":"2024-06-22T06:45:23","slug":"php-updates-got-failed-error-in-direct-admin","status":"publish","type":"post","link":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/php-updates-got-failed-error-in-direct-admin\/","title":{"rendered":"Php updates got failed error in direct admin"},"content":{"rendered":"<p>Php updates got failed error\u00a0 Here in this post how to resolve and fix the error while updating php version in direct admin server.<\/p>\n<p>If the error is<\/p>\n<pre>install_php: failed to compile '\/usr\/local\/directadmin\/custombuild\/cache\/php-8.1.29<\/pre>\n<p>Maybe its an good start with deleting absolute files in usr\/local (backup first !)<br \/>\nRemoving absolute or old install made by custombuild in the past gave me lot of build problems, after cleaning them make worked as it should<\/p>\n<p>Than you can do the following steps to resolve the issue.<\/p>\n<h3>Php updates got failed error<\/h3>\n<p>Login to direct admin server as root in SSH,<\/p>\n<p>Goto<\/p>\n<pre>cd \/usr\/local\/directadmin\/custombuild<\/pre>\n<p>Build update,<\/p>\n<pre>.\/build update\r\n.\/build versions<\/pre>\n<p>To remove the list of old build updates<\/p>\n<pre>.\/build list_removals\r\n.\/build remove_items\r\n.\/build remove_old_local libiconv<\/pre>\n<p>Now do the build\u00a0 all<\/p>\n<pre>.\/build all d<\/pre>\n<p>This will build the server all configurations including apache ,mysql and all other system packages.<\/p>\n<p dir=\"ltr\" data-xf-init=\"code-block\">It took some more time depends on sever configuration ,all packages are updated.<\/p>\n<p dir=\"ltr\" data-xf-init=\"code-block\">Now the error was resolved and you can see the php version in direct admin panel.<\/p>\n<p dir=\"ltr\" data-xf-init=\"code-block\">\n","protected":false},"excerpt":{"rendered":"<p>Php updates got failed error\u00a0 Here in this post how to resolve and fix the error while updating php version in direct admin server. If the error is install_php: failed to compile &#8216;\/usr\/local\/directadmin\/custombuild\/cache\/php-8.1.29 Maybe its an good start with deleting absolute files in usr\/local (backup first !) Removing absolute or old install made by custombuild [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41,42],"tags":[],"class_list":["post-440","post","type-post","status-publish","format-standard","hentry","category-control-panel","category-linux"],"_links":{"self":[{"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/posts\/440","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/comments?post=440"}],"version-history":[{"count":5,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/posts\/440\/revisions"}],"predecessor-version":[{"id":445,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/posts\/440\/revisions\/445"}],"wp:attachment":[{"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/media?parent=440"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/categories?post=440"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hyderabadwebhosting.co.in\/tutorials\/wp-json\/wp\/v2\/tags?post=440"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}