Jump to content
The Uniform Server Community

Updating PHP 8.0.x to PHP 8.1.x: step by step guide


Recommended Posts

In order to update PHP 8.0.x to the latest 8.1.x version available, simply follow these steps:

  1. Download and extract PHP 8.1 (8.1.x) VS16 x86 Thread Safe from this link: https://windows.php.net/download/
  2. rename folder «php-8.1.x-Win32-vs16-x86\ext\» to «php-8.1.x-Win32-vs16-x86\extensions\»
  3. copy «UniServerZ\core\php80\php_development.ini», «UniServerZ\core\php80\php_production.ini», «UniServerZ\core\php80\php_test.ini» and «UniServerZ\core\php80\php-cli.ini» to «php-8.1.x-Win32-vs16-x86\»
  4. stop Apache (from UniController or Windows Services ["us_apache_1"])
  5. rename file «UniServerZ\core\apache2\conf\extra_us\php80.conf» to «UniServerZ\core\apache2\conf\extra_us\php80.conf.bak»
  6. download the attached file and save it to «UniServerZ\core\apache2\conf\extra_us\php80.conf»
  7. delete (or backup) the files in the «UniServerZ\core\php80\» folder and replace them with the ones from «php-8.1.x-Win32-vs16-x86\»
  8. restart Apache (from UniController or Windows Services ["us_apache_1"])

In UniController, clicking on PHP > Select PHP version > PHP version 80 will now activate PHP 8.1

Hope this helps! :)


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...