User Tools

Site Tools


notes:xampp-netstat

Fix XAMPP netstat error on Linux

netstat is old and is not shipped anymore with modern distributions: it has been superseded by ss.

In order to fix the XAMPP 'netstat: command not found' error shown on Linux while starting the XAMPP 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/08/05 20:03 by admin