Just wanted to add another voice of support for you. I struggled horribly and messily through my PhD and it took me 5 years, but I made it in the end. And I am glad that I did.
Sometime in my second year, I went home to my parents and told them I was thinking of quitting. At my university, you could write up the first couple of years as a Masters thesis, and just take a Masters, so I wanted to do that. My parents were so SO angry with me for wanting to quit that I never mentioned it again!! They really didn't have any idea of the problems that I faced and were utterly unsympathetic. But I'm kind of glad because if they'd given me any support at all, I wouldn't have finished and then I'd always have been wondering "what if...?"
My supervisor wasn't much help either. Do you have friendly and/or competent postdocs that you can ask for help? Not sure if you're in a lab environment or not, but if you are, postdocs and technicians are much more useful in terms of day to day help than supervisors.
Remember, you've already done something amazing, leaving home, living on your own for the first time and starting a doctoral program. That is AMAZING and you can be proud of yourself. Focus on getting through each day at a time and you will make it in the end.