• Home
  • About Me
  • Blog
    • Cyber Security
    • Design
    • Education
    • Learning Out Loud
    • Productivity
    • Technology
  • Contact Me
Simon Angling
No Result
View All Result
  • Home
  • About Me
  • Blog
    • Cyber Security
    • Design
    • Education
    • Learning Out Loud
    • Productivity
    • Technology
  • Contact Me
No Result
View All Result
No Result
View All Result
Home Learning Out Loud

Increasing upload_max_size in php.ini with Azure Web Apps

Simon Angling by Simon Angling
February 11, 2020
in Learning Out Loud, Technology, Web Development

A small puzzle for the end of last week with an Azure web app running PHP.

The default upload_max_filesize for PHP on Azure Web Apps is 8,192KB and there was a need to increase it.

I’ve done this 100s of times with PHP running on Apache – but wasn’t sure how to do it on an Azure App Service. Honestly, this little puzzle took me much longer than would I care to admit.

The information needed is right here in the documentation: https://docs.microsoft.com/bs-latn-ba/azure/app-service/web-sites-php-configure#how-to-change-the-built-in-php-configurations

Create a .user.ini file at the root directory and add the setting required there. In this case:

 upload_max_filesize=10M 

And that was it…

This is the same for any PHP configurations that can be made in php.ini. For information about php.ini directives, see List of php.ini directives.

Short post today, but sometimes it’s only easy when you know how!

This post is part of my Learning out Loud series. You can read more about Learning out Loud and how it came about here: https://simonangling.com/learning-out-loud/

Related

Tags: AzureLearning Out LoudPHPWeb Development
Previous Post

Have Cortana Schedule your Meetings

Next Post

Unified threat detection with Microsoft Threat Protection

Next Post
Unified threat detection with Microsoft Threat Protection

Unified threat detection with Microsoft Threat Protection

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Popular Posts

GTD and InBox Zero with Microsoft Outlook

Microsoft Defender Products and Licensing Demystified

Increasing upload_max_size in php.ini with Azure Web Apps

Increasing upload_max_size in php.ini with Azure Web Apps

Azure Front Door Vanilla, Standard and Premium

  • Privacy
  • Cookie policy
  • Terms & conditions
  • About us

© 2023 Simon Angling

No Result
View All Result
  • 404 Error
  • About Simon Angling
  • Blog
  • Contact
  • Contact Me
  • Cookie Policy for Simon Angling dot com
  • Microsoft Partner University Courses
  • My blog page
  • My front page
  • Portfolio
  • Productivity 365
    • Productivity 365 Outlook Configuration
  • Services
  • Simon Angling
  • Simon Angling Home
  • Simon Angling’s Certifications and Transcripts

© 2023 Simon Angling