This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| deb12:lamp [2024/05/23 05:52] – Bernard Condrau | deb12:lamp [2025/11/17 14:53] (current) – [Create certificate for localhost] Bernard Condrau | ||
|---|---|---|---|
| Line 132: | Line 132: | ||
| - Make sure the xdebug configuration is loaded last (e.g., '' | - Make sure the xdebug configuration is loaded last (e.g., '' | ||
| - Also update php.ini files in adjacent directories (// | - Also update php.ini files in adjacent directories (// | ||
| - | - Read [[web:eclipse# | + | - Read [[# |
| - Read [[https:// | - Read [[https:// | ||
| - Restart your webserver after configuration changes | - Restart your webserver after configuration changes | ||
| Line 142: | Line 142: | ||
| * [[https:// | * [[https:// | ||
| * [[https:// | * [[https:// | ||
| + | * [[https:// | ||
| ===== MariaDB 10.11.6 Installation ===== | ===== MariaDB 10.11.6 Installation ===== | ||
| Line 168: | Line 169: | ||
| icacls X: | icacls X: | ||
| icacls X: | icacls X: | ||
| + | |||
| + | ==== WSL1 with Xdebug ==== | ||
| + | * WSL1 runs networking in '' | ||
| + | * You do not need to set '' | ||
| + | * Will work with default configuration settings | ||
| + | ==== WSL2 (NAT) ==== | ||
| + | * WSL2 set to '' | ||
| + | * Your Linux box runs within a Hyper-V Virtual Machine | ||
| + | * You can access the Windows host through the IP address stored in ''/ | ||
| + | * '' | ||
| + | IP=$(ip route show | grep -i default | awk '{ print $3}') | ||
| + | INI="/ | ||
| + | echo -e " | ||
| + | echo -e " | ||
| + | * Check the xdebug logfile with '' | ||
| + | |||
| + | === Windows host IP address === | ||
| + | * Alternatively you could use the Windows host IP address (feasible if it remains the same through re-boots) in which case you need to add a firewall rule to allow access through the xdebug port. Command to run in an elevated PowerShell:< | ||
| + | * Commands to check or remove the firewall rule:< | ||
| + | Remove-NetFirewallRule -DisplayName " | ||
| + | |||
| + | ==== WSL2 (mirrored) ==== | ||
| + | * WSL2 set to '' | ||
| + | * This networking mode is available for Windows 11 23H2 and later | ||
| + | * To enabled '' | ||
| + | networkingMode=mirrored</ | ||
| + | * Your Linux box runs within a Hyper-V Virtual Machine | ||
| + | * You can access the Windows host through the IP address '' | ||
| + | * '' | ||
| + | * Check the xdebug logfile with '' | ||
| + | * Note that WSL in '' | ||
| + | ==== Links ==== | ||
| + | * [[https:// | ||
| ===== SSL for localhost ===== | ===== SSL for localhost ===== | ||
| Line 204: | Line 238: | ||
| * You can check the domain names included in the original certificate:< | * You can check the domain names included in the original certificate:< | ||
| + | ==== Trust localhost certificate on Windows 11 ==== | ||
| + | * Run '' | ||
| + | * Right-click on // | ||
| ==== Links ==== | ==== Links ==== | ||
| * [[https:// | * [[https:// | ||