PHP
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

ストリームの作成> <リソースの作成
Last updated: Fri, 02 Jan 2009

view this page in

INI 設定の作成



add a note add a note User Contributed Notes
INI 設定の作成
asadabbas88 at gmail dot com
05-Jan-2009 06:55
I have found a very useful trick ... It may help someone so I think of posting it here ... most people have some restriction in accessing their php.ini file ... so they use ini_set() method ... but for few things eg upload_max_filesize it won't as it is very late to set these type of setting during the execution of the script ... so if you are using apache then .htaccess file can solve your problem :)
just create a .htaccess file and for setting your upload_max_filesize value to 100 MB u can just write :

php_value upload_max_filesize 101M

in your .htaccess file and you are done. Make sure your .htaccess file is in the directory where your php file resides.

ストリームの作成> <リソースの作成
Last updated: Fri, 02 Jan 2009
 
 
show source | credits | sitemap | contact | advertising | mirror sites