I am guessing you have not created a Virtual Host for this project, so the $_SERVER["DOCUMENT_ROOT"] will be pointing at C:\xampp\htdocs\ and not C:\xampp\htdocs\Myshop
To avoid this you can use the following which says require from the inc folder below where I am currently running this code from whereever that may be