i found my php.ini file in the etc directory in my remote server, if i wanted to change the file contents, how could i do that, can's i first download the file change it then upload it using ssh clinet? sorry newbie :))
If you haven't neccesary access level to alter the /etc/.../php.ini it's possible that your hosting let's you to modify your php variables via .htaccess files
To use this, try to place an .htaccess file in your root path.
to modify a flag (on/off value) use:
to modify a variable use
If doing so you got an error 500 either the syntax of your file is wrong or your hosting don't let you alter php parameter by this method.
Ask your provider anyway.
There is probably a text editor installed on the server - you can use that to edit the file.
Personally I'm partial to
To edit the file, issue the command (for example)
As you mentioned, there's also the possibility of downloading the file to your local machine, editing and uploading it back - but in my opinion, that's normally a waste of time since you would only normally change a few config values, for which the server side text editor is just so much quicker to do.
If I were you, I'd learn to use a text editor such as nano, vim, or emacs, so that you can edit it directly on the server (after making a backup copy, of course).
I guess your using Windows on your client machine then, so let's go from here.
If you don't have (or more probably can't find) a usable editor on your server you could use WinSCP to up- and download files via ssh/sftp. It also has a simple editor integrated to "directly" modify files on the server.
PuTTY also has a command line scp client pscp.exe which enables you to up- and download files from and to your server... but i guess WinSCP is the easier solution.
P.s. If you tell us a bit more about your server/hosting setup somebody here might be able to help you out on how to add software to your server or how to find out what's already installed.