* when start, change the port of apache and mysql.
This commit is contained in:
@@ -5,6 +5,10 @@ then
|
||||
exit
|
||||
fi
|
||||
|
||||
sed -e 's/88/80/g' lampp | sed -e 's/3308/3306/g'> lampp.80
|
||||
mv lampp.80 lampp
|
||||
chmod a+rx lampp
|
||||
|
||||
sed -e 's/88/80/g' etc/httpd.conf > etc/httpd.conf.80
|
||||
mv etc/httpd.conf.80 etc/httpd.conf
|
||||
|
||||
|
||||
@@ -5,6 +5,10 @@ then
|
||||
exit
|
||||
fi
|
||||
|
||||
sed -e 's/80/88/g' lampp | sed -e 's/3306/3308/g' > lampp.88
|
||||
mv lampp.88 lampp
|
||||
chmod a+rx lampp
|
||||
|
||||
sed -e 's/80/88/g' etc/httpd.conf > etc/httpd.conf.88
|
||||
mv etc/httpd.conf.88 etc/httpd.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user