How to update XAMPP PHP version

You are digging yourself into a deeper and deeper hole and I would suggest you start again. You can not just go changing things hoping they will work. If the file is missing there is at least one problem and probably more.

Your include path is outside of the localhost and is still pointing to the same place.