0

Would you help me about
"How to Increase file upload size from default 1mb on host server using php."

Thanks

3
Contributors
8
Replies
9
Views
6 Years
Discussion Span
Last Post by ko ko
0

There i found the method which need some changes inside the php.ini which is out of my access (host server not local server). Alternatively you could set them dynamically from inside your script using ini_set().
BUT HOW?

0

If you don't have permission, then ask your host. Hosts prevent access for good reason. As their servers get bogged down with ridiculously long processes like shifting GB sized files!

0

ini_set( ) is using for dynamically changes inside php.ini file
can you write code to demostrate it/

0

for example,
my website is uploaded to webhost which in UK, so how i can access that host php.ini file. its not possible for client. im the ower of my domain name+hosting and i have full access to my pleskcontrol pannel. Could you help now how i increase the upload file size from 1 MB to atlest 2MB progammatically.

0

@ardav is right. You need to ask your hosting provider to increase the upload size. You may need to recharge for that.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.