User Tools

Site Tools


notes:xampp-netstat

This is an old revision of the document!


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.1657212869.txt.gz · Last modified: 2022/07/07 16:54 by admin