-
Using Laragon 6 and upgraded php, adding both 8.2 and 8.3. However, when I select one of the new php versions and restart the server, I get the following error: Clicking Ok on the dialog closes it, but then it appears again. After clicking on it the 2nd time, the dialog closes for good and then the server is working with the new php version. The message occurs whenever I switch to php 8.2 or 8.3, but not when I switch to php 8.1 originally installed with Laragon. It seems like things are working ok, but does anyone know what this error message means and is there something I should do about it? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok, I found the answer while reading the tutorial on how to upgrade php. I guess I should have read that first. :) The problem is resolved by upgrading apache. Instructions for that are also included in the tutorial. Oddly, after upgrading Apache, I now get the error when switching to php 8.1, but not 8.2 or 8.3. So, I guess if you want to use php 8.1, use the version of apache installed with laragon. And if you want to use php 8.2 or 8.3, use the latest version of apache. Here's the link to the tutorial: |
Beta Was this translation helpful? Give feedback.
Ok, I found the answer while reading the tutorial on how to upgrade php. I guess I should have read that first. :) The problem is resolved by upgrading apache. Instructions for that are also included in the tutorial.
Oddly, after upgrading Apache, I now get the error when switching to php 8.1, but not 8.2 or 8.3. So, I guess if you want to use php 8.1, use the version of apache installed with laragon. And if you want to use php 8.2 or 8.3, use the latest version of apache.
Here's the link to the tutorial:
How to add another PHP version