User Tools

Site Tools


notes:fix-xampp-netstat-error

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

notes:fix-xampp-netstat-error [2022/08/04 10:07] – created adminnotes:fix-xampp-netstat-error [2022/08/05 20:05] (current) – removed admin
Line 1: Line 1:
-====== Fix XAMPP 'netstat: command not found' error on Linux ====== 
  
-XAMPP Apache distribution has a small issue with the starting script on recent Linux installations. The script uses ''netstat'', which is old and is no longer shipped 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/fix-xampp-netstat-error.1659607623.txt.gz · Last modified: 2022/08/04 10:07 by admin