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
Run Code Online (Sandbox Code Playgroud)
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?
我弄清楚了我的问题。
我在 FileZilla 中创建了第一个 .user.ini 文件,由于某种原因,azure 无法识别该文件。然后,我创建了一个 user.ini 文件,并在命令提示符下将其重命名为 .user.ini
ren user.ini .user.ini
Run Code Online (Sandbox Code Playgroud)
并且该文件已被 azure 识别。
| 归档时间: |
|
| 查看次数: |
2629 次 |
| 最近记录: |