User Tools

Site Tools


notes:xampp-netstat

Fix XAMPP 'netstat: command not found' error on Linux

netstat is old and is no longer shipped with modern distributions, being superseded by ss. To fix the XAMPP 'netstat: command not found' error on Linux while starting the service, simply edit file /opt/lampp/share/xampp/xampplib and change line 22 from:

  if netstat -an | egrep "[.:]$1 .*LISTEN" > /dev/null

to

  if ss -an | egrep "LISTEN.*[.:]$1" > /dev/null
notes/xampp-netstat.txt · Last modified: 2022/06/18 14:05 by admin