use ftp client to connect to the root directory of ur site...drag it back to your local computer and edit it..or many hosting companies should have provided 2 other options, one is cpanel file manager, the other one is web disk...
cpanel file manager enables u to edit ur php.ini file directly through ur browser interface,,web disk makes it easier for u drag ur files to local computer without hving to use ftp most of time.