

{"id":21888,"date":"2022-01-14T09:03:12","date_gmt":"2022-01-14T14:03:12","guid":{"rendered":"https:\/\/www.uvm.edu\/it\/kb\/?post_type=ht_kb&#038;p=21888"},"modified":"2025-12-01T14:10:30","modified_gmt":"2025-12-01T19:10:30","slug":"adjusting-your-php-version-on-silk","status":"publish","type":"ht_kb","link":"https:\/\/www.uvm.edu\/it\/kb\/article\/adjusting-your-php-version-on-silk\/","title":{"rendered":"Adjusting your PHP Version on Silk"},"content":{"rendered":"<p>The default version of PHP available for sites hosted using UVM Silk periodically updates to ensure UVM sites are using software that receives support and security updates. If your website uses PHP and is no longer functioning after an update, it&#8217;s possible that temporarily downgrading to the previous version of PHP will help. To see the available PHP versions and their sunset dates, see <a href=\"https:\/\/silk.uvm.edu\/manual\/php\/\" target=\"_blank\" rel=\"noopener\">the PHP page in UVM&#8217;s Silk manual<\/a>.<\/p>\n    \t\t<div class=\"hts-messages hts-messages--danger  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Downgrading is a temporary reprieve<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tWhile downgrading your PHP version may help your site work again after a PHP update, it will break again when the version you set it to reaches its sunset date.    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<h2>Downgrading PHP using FileZilla<\/h2>\n<ol>\n<li>Connect to the appropriate UVM Silk space using FileZilla. For instructions on doing so, see the section titled <strong>Silk via FileZilla<\/strong> in the <a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/accessing-network-folders\/#silk-via-filezilla-sftp-cross-platform\" target=\"_blank\" rel=\"noopener\">Accessing Network Folders<\/a> article.<\/li>\n<li>Open the\u00a0<strong>www-root<\/strong> folder.<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkRoot.png\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-21889\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkRoot.png\" alt=\"\" width=\"284\" height=\"173\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkRoot.png 284w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkRoot-50x30.png 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkRoot-60x37.png 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkRoot-100x61.png 100w\" sizes=\"auto, (max-width: 284px) 100vw, 284px\" \/><\/a><\/li>\n<li>Find the\u00a0<strong>.silk.ini\u00a0<\/strong>file. If one does not exist, you can create one on your computer in a text editor like NotePad++ (<a href=\"https:\/\/www.uvm.edu\/it\/kb\/article\/windows-intune-application-installation\/\" target=\"_blank\" rel=\"noopener\">available in Company Portal<\/a>), and skip to step 5.<\/li>\n<li>Right click the <strong>.silk.ini<\/strong> file and choose View\/Edit, opening the file in your chosen text editor.<br \/>\n<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkini-edit.png\" rel=\"lightbox-1\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-21890\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkini-edit.png\" alt=\"\" width=\"187\" height=\"188\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkini-edit.png 212w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkini-edit-150x150.png 150w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkini-edit-50x50.png 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkini-edit-60x60.png 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/silkini-edit-100x100.png 100w\" sizes=\"auto, (max-width: 187px) 100vw, 187px\" \/><\/a><\/p>\n<ul>\n<li>If you are unable to open the\u00a0<strong>.silk.ini<\/strong> file,\u00a0<em><strong>Download<\/strong> <\/em>the file instead. It will appear on the left side of FileZilla under <em>Local site<\/em>. Right-click and open the file. You will need to re-upload the file for changes to go in effect. <a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/OpenLocal.png\" rel=\"lightbox-2\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-21891\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/OpenLocal.png\" alt=\"\" width=\"461\" height=\"122\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/OpenLocal.png 735w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/OpenLocal-300x80.png 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/OpenLocal-50x13.png 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/OpenLocal-60x16.png 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/OpenLocal-100x27.png 100w\" sizes=\"auto, (max-width: 461px) 100vw, 461px\" \/><\/a><\/li>\n<\/ul>\n<\/li>\n<li>Find or create a section marked <strong>[php]<\/strong>, then change the <strong>version\u00a0<\/strong>to your desired version.<a href=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/73to74.png\" rel=\"lightbox-3\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-21892\" src=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/73to74.png\" alt=\"\" width=\"482\" height=\"147\" srcset=\"https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/73to74.png 512w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/73to74-300x91.png 300w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/73to74-50x15.png 50w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/73to74-60x18.png 60w, https:\/\/www.uvm.edu\/it\/kb\/wp-content\/uploads\/2022\/01\/73to74-100x30.png 100w\" sizes=\"auto, (max-width: 482px) 100vw, 482px\" \/><\/a><\/li>\n<li>Save the file. If you downloaded or created the\u00a0<strong>.silk.ini<\/strong> file for the first time, you will need to upload the file to the <strong>www-root<\/strong> folder after saving.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>The default version of PHP available for sites hosted using UVM Silk periodically updates to ensure UVM sites are using software that receives support and security updates. If your website uses PHP and is no longer functioning after an update, it&#8217;s possible that temporarily downgrading to the previous version of&#8230;<\/p>\n","protected":false},"author":119,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"ht-kb-category":[],"ht-kb-tag":[],"class_list":["post-21888","ht_kb","type-ht_kb","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb\/21888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/users\/119"}],"replies":[{"embeddable":true,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/comments?post=21888"}],"version-history":[{"count":12,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb\/21888\/revisions"}],"predecessor-version":[{"id":32169,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb\/21888\/revisions\/32169"}],"wp:attachment":[{"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/media?parent=21888"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=21888"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.uvm.edu\/it\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=21888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}