Another web server is already running.
XAMPP: Another web server with SSL is already running.
./xampp:106: if testport 80
./xampp:113: if test $ssl -eq 1 && testport 443
/opt/lampp/etc/extra/httpd-ssl.conf
443 => 1443
/opt/lampp/xampp 脚本中测试端口号写死了
80改为8086
443 改为1443
* /opt/lampp/etc/httpd.conf
#Listen 12.34.56.78:80
Listen 8086
Listen 8080
Listen 8000
# Virtual hosts
Include etc/extra/httpd-vhosts.conf
* /opt/lampp/etc/extra/httpd-vhosts.conf
<VirtualHost *:8000>
ServerAdmin ubuntu@et-dev-mingzhanghui
DocumentRoot "/opt/easyeye/src/backend/public"
ErrorLog "logs/easyeye-error.log"
CustomLog "logs/easyeye.log" common
<Directory "/opt/easyeye/src/backend/public">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
<VirtualHost *:8080>
ServerAdmin ubuntu@ubuntu
DocumentRoot "/opt/easyeye/src/front"
ErrorLog "logs/www.mediamix.cn-error.log"
CustomLog "logs/www.mediamix.cn.log" common
<Directory "/opt/easyeye/src/front">
Options Indexes FollowSymLinks Includes ExecCGI
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
https://blog.csdn.net/fareast_mzh/article/details/90023109