Phone connected to PC but it only charges
Not all the USB cables offer data transfer. There are same-looking power-only cables, which obviously allow only charging, and don't have data wires at all. 

Try with a different USB cable as a start.