As the azure website states, to configure PHP I should add a .user.ini file to the root.
http://azure.microsoft.com/en-gb/documentation/articles/web-sites-php-configure/#ChangeBuiltInPHP
The issue is when I do this, none of my php ini values seem to change. I'm pretty sure my ini file is correct?
upload_max_filesize=128M
post_max_size=128M
When I upload the file and restart the website, I check php_info() and the values are still set to the default.
Am I doing something wrong?
I figured out my issue.
I created the first .user.ini file within FileZilla which for some reason azure didn't recognise. I then just created a user.ini file and renamed it to .user.ini within command prompt
ren user.ini .user.ini
and that file was recognised by azure.
I had a similar issue, but locally. Windows IIS, PHP 7 w/ WinCache, using .user.ini
First problem appeared to be cache related. After I moved the lines around in random order (in .user.ini), it finally worked. Second problem, changing max_input_vars = 1000 to 2000 had no effect, but when I moved that entire line to a different line (in .user.ini), then it worked.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With