Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Wampserver 3 - fixing bugs (no replies)

$
0
0
- Item 01 - Wampserver 3.0.8 : there is a bug in the file: wamp\scripts\testPort.php
Replace lines 8 to 16:
if(!empty($_SERVER['argv'][2])) {
	if($_SERVER['argv'][2] == $c_mysqlService || $_SERVER['argv'][2] == $c_mariadbService) {
		$port = isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : '3306';
		$only_process = true;
		$mysqlTest = true;
	}
}
else
	$port = isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : '80';
by
if(!empty($_SERVER['argv'][2])) {
	if($_SERVER['argv'][2] == $c_mysqlService || $_SERVER['argv'][2] == $c_mariadbService) {
		$port = isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : '3306';
		$only_process = true;
		$mysqlTest = true;
	}
	else
		$port = isset($_SERVER['argv'][1]) ? $_SERVER['argv'][1] : '80';
}

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>