Change XAMPP Server Port

Follow the below steps to update the defalt port 80 apache XAMP Apache server

1) Stop the XAMPP server, if it is running already.

2) Open the file httpd.conf(In my case its E:\xampp\apache\conf\httpd.conf)

Locate

Listen 80
ServerName localhost:80

And replace with the other port number(8012)

Listen 8012
ServerName localhost:8012

3) Open the file httpd-ssl(In my system its E:\xampp\apache\conf\extra\httpd-ssl.conf)

Locate the following lines

Listen 443
<VirtualHost _default_:443>
ServerName localhost:433

Replace them by with a other port number(8013)

Listen 8013
<VirtualHost _default_:8013>
ServerName localhost:8013

4) Restart the Apache server and http://localhost:8012/ should work.

Magento 2 Remove Mini Cart From Header

You can remove Mini Cart from header by adding the below line to layout xml

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
 <body>
 <referenceContainer name="header.container">
 <referenceBlock name="minicart" remove="true"/>
 </referenceContainer>
 </body>
</page>

Magento 2 Remove Search From Header

You can remove search from header by adding the below line to layout xml

<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
 <body>
 <referenceContainer name="header.container">
 <referenceBlock name="top.search" remove="true"/>
 </referenceContainer>
 </body>
</page>