I have a single PHP script on a single site that requires me to set the upload size maximum fairly high. I would prefer not to do this globally.
According to the PHP docs, I can not set the values for some variable such as
ini_set. I've seen a number of solutions here running PHP on a UNIX box or on Windows running Apache, but none that are clear to me using IIS.
My understanding is that there is a way for me to have a custom php.ini file to override specific php.ini value.
Ideally, I would love to have a php.ini file in the folder with that one script that looks something like this:
[PHP] post_max_size = 200M max_file_uploads = 5 upload_max_filesize = 200M
How can I accomplish this without setting the values globally on my server?