public function getWebSrvUser() {
		$result = '';
		if ($this->isOsWindows()) {
			return $result;
		}

		$cmd = "ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1 2>/dev/null";
		$output = [];
		$exitCode = -1;
		exec($cmd, $output, $exitCode);
		if (($exitCode !== 0) || (count($output) < 1)) {
			return $result;
		}

		$result = array_shift($output);

		return $result;
	}
public function getWebSrvUser() {
		$result = '';
		if ($this->isOsWindows()) {
			return $result;
		}

		$cmd = "ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1 2>/dev/null";
		$output = [];
		$exitCode = -1;
		exec($cmd, $output, $exitCode);
		if (($exitCode !== 0) || (count($output) < 1)) {
			return $result;
		}

		$result = array_shift($output);

		return $result;
	}
public function getWebSrvUser ( ) { $ result = '' ; if ( $ this -> isOsWindows ( ) ) { return $ result ; } $ cmd = "ps aux | grep -E '[a]pache|[h]ttpd|[_]www|[w]ww-data|[n]ginx' | grep -v root | head -1 | cut -d\  -f1 2>/dev/null" ; $ output = [ ] ; $ exitCode = - 1 ; exec ( $ cmd , $ output , $ exitCode ) ; if ( ( $ exitCode !== 0 ) || ( count ( $ output ) < 1 ) ) { return $ result ; } $ result = array_shift ( $ output ) ; return $ result ; }
Return WEB server user.

@return string Return user name of WEB server
Return WEB server user .