1. Home
  2. Adjusting your PHP Version on Silk

Adjusting your PHP Version on Silk

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’s possible that temporarily downgrading to the previous version of PHP will help. To see the available PHP versions and their sunset dates, see the PHP page in UVM’s Silk manual.

Downgrading is a temporary reprieve

While 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.

Downgrading PHP using FileZilla

  1. Connect to the appropriate UVM Silk space using FileZilla. For instructions on doing so, see the section titled Silk via FileZilla in the Accessing Network Folders article.
  2. Open the www-root folder.
  3. Find the .silk.ini file. If one does not exist, you can create one on your computer in a text editor like NotePad++ (available from Software Center), and skip to step 5.
  4. Right click the .silk.ini file and choose View/Edit, opening the file in your chosen text editor.

    • If you are unable to open the .silk.ini file, Download the file instead. It will appear on the left side of FileZilla under Local site. Right-click and open the file. You will need to re-upload the file for changes to go in effect.
  5. Find or create a section marked [php], then change the version to your desired version.
  6. Save the file. If you downloaded or created the .silk.ini file for the first time, you will need to upload the file to the www-root folder after saving.
Updated on October 25, 2024
Not the solution you were looking for?
Don’t worry we’re here to help!
Submit a Help Ticket