xampp-portcheck.exe in the xampp folder is hard coded as is the
xampp-control.exe (
XAMPP Control Panel - XCP) and unless you know how to, then it can't be changed.
So clicking on the Admin... button in XCP, after you have changed the ports, will not be able to find the admin page - you will have to type the URI manually every time you want to see it.
xampp-portcheck.exe can be opened with
WinRAR by a right click and select to
Open with...When opened in WinRAR it will reveal all the files which, if you are capable, you could perhaps edit the (
©2009 Carsten Wiedmann ) visual basic script to suit your own needs - not recommended.
Rather than use the hard coded port check you can type
netstat -aon at a shell prompt by clicking on the
Shell button in XCP - to find what is using the TCP ports like the ones you are using after your Apache configuration changes.
Alternatively, you could use the underlying utility in XAMPP's port check called
CurrPorts, an excellent free utility from NirSoft's collection of free Windows utilities:
http://www.nirsoft.net/utils/cports.html After changing the ports in the Apache conf files then you will always have to add the port number to the URI -
http://localhost:8080/index.php for example.