var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
need help with php.ini
well i installed a video script on my server similar to youtube and the default limit is 100mb .
i was told that youhadto edit the php.ini file but im struggling to do so ....
can anyone post a step by step guide whilst using putty to find andedit thephp.ini file or wudsomeone bekind enough to do it for me....
Also isthe php.inifile available on vps oronly on the main dedicated server
Its on the server, If your on a VPS you may be able to do this with a htaccess file.
ok wud i just put the same things in the htaccess file asiwud in php.ini
1) create a phpinfo.php file in your document root , then access it via browser , now you can see the php.ini file location
2) Login to your server and edit that php.ini and change max_upload_size value (or which value you need to chnage)
And restart your server
Depending on the settings you can use:
//Replace 100M with how big you want max filesize, ie 500M for 500 Megabytes
ini_set ( "upload_max_filesize" , "100M" );
You can get the path of your php.ini file using following command.
php -i | grep php.ini
Change the value of the variable upload_max_filesize in that file and restart apache.
try google and you'll find the answer in no time