XAMPP ๐ง is a great development environment, but over time, it has accumulated outdated components and limitations.
This guide will help you:
- โ Clean up XAMPP ๐ง by removing unnecessary files
- โ Update essential components (e.g., Tomcat ๐ชถ๐ฑ)
- โ Fix common issues
โ Warning: Proceed with caution! I am not responsible for any issues that may arise!
To remove unnecessary files:
- Download
clear.bat - Check the script if you want to keep specific languages; it is set to keep only Italian by default
- Run
clear.batto remove redundant files
- โ Obsolete files and folders removed
- โ A lighter and faster XAMPP ๐ง environment
You can run clear.bat every time you close XAMPP ๐ง to keep it clean! ๐งน
Sometimes, when closing xampp-control.exe, a settings save error appears.
This happens due to permission issues on c:\xampp\xampp-control.ini.
To fix it:
- Right-click on
xampp-control.iniโ Properties - Go to the Security tab โ Advanced
- Click Change Permissions and grant Full Control to the current user
Now XAMPP will save settings correctly! ๐ง
๐ Updating Tomcat ๐ชถ๐ฑ
One of XAMPPโs limitations is that Tomcat ๐ชถ๐ฑ remains outdated.
To update it:
- Download the latest version of Tomcat ๐ชถ๐ฑ (Windows zip x64)
- Extract
apache-tomcat-<VERSION>-windows-x64.zip - Rename the extracted folder to
tomcat - Delete the old
c:\xampp\tomcatfolder - Copy the new
tomcatfolder toc:\xampp - Download and run
clear.batinsidec:\xampp\tomcat
After updating, you need to configure XAMPP to use the new Tomcat version:
-
Open
c:\xampp\xampp-control.ini- Find
[BinaryNames] - Locate the line
Tomcat=Tomcat<VERSION>.exe - Replace it with
Tomcat=startup.bat - Save and close
- Find
-
Edit
c:\xampp\catalina_service.bat- Find
"%CATALINA_HOME%\bin\tomcat<VERSION>.exe" - Replace it with
"%CATALINA_HOME%\bin\startup.bat" - Save and close
- Find
-
Replace
c:\xampp\tomcat\conf\tomcat-users.xmlwithtomcat-users.xml
Now you can start the updated version of Tomcat ๐ชถ๐ฑ! ๐
๐ Updating phpMyAdmin โต
If youโve been using XAMPP ๐ง for a long time, you might need to update phpMyAdmin โต separately, as new versions are often released independently from XAMPP ๐ง.
๐ What is phpMyAdmin โต?
phpMyAdmin โต is a web-based tool for managing MySQL ๐ฌ/MariaDB ๐ฆญ databases ๐ข๏ธ.
- โ Go to the official download page
- โ Download the latest version available
- โ Extract the compressed archive
- โ
Rename the extracted folder to
phpMyAdmin - โ
Before deleting the existing
c:\xampp\phpMyAdminfolder, copy theconfig.inc.phpfile- Path:
C:\xampp\phpMyAdmin\config.inc.php - Paste it into the new
phpMyAdminfolder
- Path:
- โ Replace the old folder with the new one
You can run c:\xampp\clear.bat again to remove unnecessary components and unused languages! ๐งน
Now phpMyAdmin โต is updated and fully functional! ๐
By following this guide, you will have:
- โ A cleaner and lighter XAMPP ๐ง
- โ Fixed settings save issues
- โ Updated outdated components to the latest version:
Now you can enjoy an optimized development environment! ๐
XAMPP ๐ง รจ un'ottima soluzione per ambienti di sviluppo, ma con il tempo ha accumulato componenti obsoleti e limitazioni.
Questa guida aiuterร a:
- โ Ripulire XAMPP ๐ง da file inutili
- โ Aggiornare componenti essenziali (es. Tomcat ๐ชถ๐ฑ)
- โ Correggere problemi comuni
โ Attenzione: Esegui le operazioni con cautela! Non mi assumo responsabilitร per eventuali problemi!
Per eliminare i file superflui:
- Scarica
clear.bat - Controlla lo script se vuoi conservare determinate lingue, รจ configurato per lasciare solo italiano
- Esegui
clear.batper rimuovere file inutili
- โ Cartelle e file obsoleti rimossi
- โ Ambiente XAMPP ๐ง piรน leggero e veloce
Puoi eseguire clear.bat ogni volta che chiudi XAMPP ๐ง per mantenerlo pulito! ๐งน
A volte chiudendo xampp-control.exe appare un errore di salvataggio delle impostazioni.
Questo avviene a causa dei permessi su c:\xampp\xampp-control.ini.
Per risolvere:
- Tasto destro su
xampp-control.iniโ Proprietร - Vai alla scheda Sicurezza โ Avanzate
- Clicca su Modifica Permessi e assegna Controllo Completo all'utente corrente
Adesso XAMPP salverร correttamente le impostazioni! ๐ง
๐ Aggiornamento di Tomcat ๐ชถ๐ฑ
Uno dei limiti di XAMPP รจ che Tomcat ๐ชถ๐ฑ rimane in una versione molto vecchia.
Per aggiornarlo:
- Scarica l'ultima versione di Tomcat ๐ชถ๐ฑ (Windows zip x64)
- Estrai
apache-tomcat-<VERSION>-windows-x64.zip - Rinomina la cartella estratta in
tomcat - Elimina la cartella vecchia
c:\xampp\tomcat - Copia la nuova cartella
tomcatinc:\xampp - Scarica ed esegui
clear.batdentroc:\xampp\tomcat
Dopo l'aggiornamento, bisogna configurare XAMPP per usare la nuova versione di Tomcat:
-
Apri
c:\xampp\xampp-control.ini- Cerca
[BinaryNames] - Trova la riga
Tomcat=Tomcat<VERSION>.exe - Sostituiscila con
Tomcat=startup.bat - Salva e chiudi
- Cerca
-
Modifica
c:\xampp\catalina_service.bat- Cerca
"%CATALINA_HOME%\bin\tomcat<VERSION>.exe" - Sostituiscilo con
"%CATALINA_HOME%\bin\startup.bat" - Salva e chiudi
- Cerca
-
Sostituisci il file
c:\xampp\tomcat\conf\tomcat-users.xmlcontomcat-users.xml
Ora puoi avviare la nuova versione di Tomcat ๐ชถ๐ฑ! ๐
๐ Aggiornamento di phpMyAdmin โต
Se usi XAMPP ๐ง da molto tempo, potresti dover aggiornare phpMyAdmin โต separatamente, poichรฉ spesso vengono rilasciate nuove versioni indipendentemente da XAMPP ๐ง.
๐ Cos'รจ phpMyAdmin โต?
phpMyAdmin โต รจ uno strumento per gestire database๐ข๏ธ MySQL ๐ฌ/MariaDB ๐ฆญ tramite un'interfaccia web.
- โ Vai sulla pagina ufficiale di download
- โ Scarica l'ultima versione disponibile
- โ Estrai l'archivio compresso
- โ
Rinomina la cartella estratta in
phpMyAdmin - โ
Prima di eliminare la cartella esistente
c:\xampp\phpMyAdmin, copia il fileconfig.inc.php- Percorso:
C:\xampp\phpMyAdmin\config.inc.php - Incollalo nella nuova cartella
phpMyAdmin
- Percorso:
- โ Sostituisci la vecchia cartella con la nuova
Puoi eseguire nuovamente c:\xampp\clear.bat per eliminare i componenti che superflui e le lingue non utilizzate! ๐งน
Ora phpMyAdmin โต sarร aggiornato e funzionante! ๐
Seguendo questa guida avrai:
- โ Un XAMPP ๐ง piรน leggero e pulito
- โ Corretto problemi di salvataggio delle impostazioni
- โ Aggiornato dei vecchi componenti all'ultima versione:
Ora puoi goderti un ambiente di sviluppo ottimizzato! ๐