Azure.user.ini not working

As the azure site says, in order to configure PHP, I have to add a .user.ini file to the root directory.

http://azure.microsoft.com/en-gb/documentation/articles/web-sites-php-configure/#ChangeBuiltInPHP

The problem is when I do this, none of my php ini values ​​seem to change. Am I sure my ini file is correct?

upload_max_filesize=128M
post_max_size=128M

      

When I upload the file and restart the site, I check php_info () and the values ​​are still set to their defaults.

Am I doing something wrong?

+3


source to share


1 answer


I figured out my problem.

I created the first .user.ini file in FileZilla, which for some reason azure didn't recognize. Then I just created a user.ini file and renamed it to .user.ini on the command line



ren user.ini .user.ini

      

and this file was recognized by azure.

+2


source







All Articles