No Result
View All Result
Simon Angling
  • Home
  • About Me
  • Cyber Security
  • Productivity
  • Blog
    • Cyber Security
    • Design
    • Education
    • Learning Out Loud
    • Microsoft
    • Productivity
    • Technology
  • Contact Me
Simon Angling
  • Home
  • About Me
  • Cyber Security
  • Productivity
  • Blog
    • Cyber Security
    • Design
    • Education
    • Learning Out Loud
    • Microsoft
    • Productivity
    • Technology
  • Contact Me
No Result
View All Result
Simon Angling
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

Defender for Endpoint for Servers vs Defender for Cloud Server

Increasing upload_max_size in php.ini with Azure Web Apps

Free Data Ingestion into Microsoft Sentinel Explained

What is Security Orchestration, Automation, and Response (SOAR)

Azure Front Door Vanilla, Standard and Premium

What is Zero Trust, and how Microsoft implements it

Microsoft Cybersecurity Reference Architectures (MCRA) Updated

Categories

  • Africa Overland
  • Archive
  • Asides
  • Cyber Security
  • Design
  • Education
  • Learning Out Loud
  • Microsoft
  • Personal
  • Productivity
  • Quotes
  • South Africa
  • Technology
  • Travel
  • Web Development
  • Privacy Policy
  • Cookie Policy

© 2024 Simon Angling

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

© 2024 Simon Angling