Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ It works with any PHP framework or project.

Running `install.yml` installs and configures:

| Component | Details |
| --- | --- |
| Web server | Apache, routing `*.localhost` domains to your projects |
| PHP | PHP-FPM 8.5 by default; 8.1–8.5 available via the `php81` … `php85` aliases |
| Database | MariaDB 12.3, plus phpMyAdmin |
| Node.js | 22 by default; 18–24 available via the `node18` … `node24` aliases |
| Tools | Composer, Git (configured with your name and email) and the required Ansible collections |
| Component | Details |
|------------|------------------------------------------------------------------------------------------|
| Web server | Apache, routing `*.localhost` domains to your projects |
| PHP | PHP-FPM 8.5 by default; 8.1–8.5 available via the `php81` … `php85` aliases |
| Database | MariaDB 12.3, plus phpMyAdmin |
| Node.js | 24 by default; 18–24 available via the `node18` … `node24` aliases |
| Tools | Composer, Git (configured with your name and email) and the required Ansible collections |

The pinned versions live in `wsl/roles/php/tasks/main.yml`, `wsl/roles/mariadb/templates/MariaDB.repo.j2` and `wsl/roles/nodejs/tasks/main.yml`.

Expand Down
2 changes: 1 addition & 1 deletion docs/book/v2/virtualhosts/create-virtualhost.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ You will install your project under the `html` directory of your project, for ex
* 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](../faq.md#how-do-i-fix-common-permission-issues).
* We install the PHP version pinned in `wsl/roles/php/tasks/main.yml` (currently 8.5) by default — if you need a different version, see [this guide](../faq.md#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](../faq.md#how-do-i-switch-to-a-different-version-of-nodejs).
* We install Node.js 24 by default — if you need a different version, see [this guide](../faq.md#how-do-i-switch-to-a-different-version-of-nodejs).

## FAQ

Expand Down
6 changes: 3 additions & 3 deletions wsl/roles/nodejs/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
- name: Add Node.js 22.x repo
shell: curl -fsSL https://rpm.nodesource.com/setup_22.x | sudo -E bash -
- name: Install Node.js 22.x
- name: Add Node.js 24.x repo
shell: curl -fsSL https://rpm.nodesource.com/setup_24.x | sudo -E bash -
- name: Install Node.js 24.x
command: "dnf install nodejs -y"
Loading