What is php.ini and where can I find it???
See what I want to do-->
http://codex.gallery2.org/Gallery2:F...e_or_two.29.3F
What is php.ini and where can I find it???
See what I want to do-->
http://codex.gallery2.org/Gallery2:F...e_or_two.29.3F
Hello,
php.ini file allows you to alter PHP configuration for scripts in the directory containing the file. It overrides values defined globally for the entire server. So, you need to create php.ini file in directory containing scripts which require those values set. The file should start with [PHP] and list of instructions after it. For example:
In case you'd like to apply the settings you put into the php.ini file for entire website (or a major part of it) you can create .htaccess file with the line (replacing cpanel_username and /path/to/php.ini with actual directory names):[PHP]
post_max_size = 12M
upload_max_filesize = 12M
When it is done, settings listed in php.ini will be applied to all files and subdirectories located in the directory containing this .htaccess file.SetEnv PHPRC /home/cpanel_username/path/to/php.ini
Note: In the last case you can place the php.ini file wherever you wish. The determining factor in this case would be .htaccess file location.
Last edited by Taras O.; 05-23-2010 at 05:49 PM.
thank you VERY VERY much...
SOrry for Off topic...But javascript support my server??? Shared host
Yes, sure. Javascript (applets) is being executed on cleint's side (i.e. in browser) as opposed to java (servlets) which code is executed by server software (it is not installed on shared servers) and browser obtains result only.
In case javascript doesn't work for you, I'd suggest to check whether it is enabled in your browser and if it is, you should look into the javascript code.
Last edited by Taras O.; 05-23-2010 at 05:55 PM.
Thanks! It helped me a lot and now I have my script up and running...