File tree Expand file tree Collapse file tree 1 file changed +24
-2
lines changed
Expand file tree Collapse file tree 1 file changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -126,8 +126,8 @@ composer --version
126126The output should be similar to:
127127
128128``` text
129- Composer version 2.8.5 2025-01-21 15:23:40
130- PHP version 8.3.20 (/usr/bin/php)
129+ Composer version 2.9.0 2025-11-13 10:37:16
130+ PHP version 8.5.0 (/usr/bin/php)
131131Run the "diagnose" command to get more detailed diagnostics output.
132132```
133133
@@ -167,6 +167,28 @@ Being installed as a system package, it can be updated using the command which u
167167sudo dnf upgrade -y
168168```
169169
170+ ## How do I delete a virtualhost?
171+
172+ If for whatever reason you want to delete a virtualhost, you need to do the following:
173+
174+ * Delete the folder where are the files located
175+
176+ ``` shell
177+ sudo rm -rf /var/www/tobedeleted.localhost
178+ ```
179+
180+ * Delete the Apache configuration file
181+
182+ ``` shell
183+ sudo rm -f /etc/httpd/sites-available/desters.localhost.conf
184+ ```
185+
186+ * Restart httpd server
187+
188+ ``` shell
189+ sudo systemctl restart httpd
190+ ```
191+
170192## How do I create command aliases?
171193
172194From either your terminal or file explorer, navigate to your home directory (` /home/<your-username>/ ` ).
You can’t perform that action at this time.
0 commit comments