diff --git a/wsl/README.md b/wsl/README.md index aa6e3cd..ed81777 100644 --- a/wsl/README.md +++ b/wsl/README.md @@ -247,5 +247,5 @@ You will install your project under the `html` directory of your project, for ex * If you work with virtualhosts, your projects are created under `/var/www/`. * You can still run PHP scripts under the default Apache project directory, located at `/var/www/html/`. * If you encounter write permission issues, see [this guide](https://docs.dotkernel.org/development/v2/faq/#how-do-i-fix-common-permission-issues). -* We install PHP 8.4 by default—if you need a different version, see [this guide](https://docs.dotkernel.org/development/v2/faq/#how-do-i-switch-to-a-different-version-of-php). +* We install PHP 8.5 by default—if you need a different version, see [this guide](https://docs.dotkernel.org/development/v2/faq/#how-do-i-switch-to-a-different-version-of-php). * We install Node.js 22 by default—if you need a different version, see [this guide](https://docs.dotkernel.org/development/v2/faq/#how-do-i-switch-to-a-different-version-of-nodejs). diff --git a/wsl/roles/php/tasks/main.yml b/wsl/roles/php/tasks/main.yml index e216795..6166ec6 100644 --- a/wsl/roles/php/tasks/main.yml +++ b/wsl/roles/php/tasks/main.yml @@ -1,7 +1,7 @@ --- -- name: Install PHP 8.4 - command: dnf module install php:remi-8.4 -y -- name: Enable and start PHP 8.4 +- name: Install PHP 8.5 + command: dnf module install php:remi-8.5 -y +- name: Enable and start PHP 8.5 command: systemctl enable --now php-fpm - name: Create PHP info file template: