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 @@ -155,8 +155,8 @@ composer --version
155155The output should be similar to:
156156
157157``` text
158- Composer version 2.8.8 2025-04-04 16:56:46
159- PHP version 8.3.20 (/usr/bin/php)
158+ Composer version 2.9.0 2025-11-13 10:37:16
159+ PHP version 8.5.0 (/usr/bin/php)
160160Run the "diagnose" command to get more detailed diagnostics output.
161161```
162162
@@ -216,6 +216,28 @@ sudo mariadb-upgrade -uroot -p
216216sudo systemctl restart mariadb
217217```
218218
219+ ## How do I delete a virtualhost?
220+
221+ If for whatever reason you want to delete a virtualhost, you need to do the following:
222+
223+ * Delete the folder where are the files located
224+
225+ ``` shell
226+ sudo rm -rf /var/www/tobedeleted.localhost
227+ ```
228+
229+ * Delete the Apache configuration file
230+
231+ ``` shell
232+ sudo rm -f /etc/httpd/sites-available/desters.localhost.conf
233+ ```
234+
235+ * Restart httpd server
236+
237+ ``` shell
238+ sudo systemctl restart httpd
239+ ```
240+
219241## How do I create command aliases?
220242
221243From 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