How to change maximum upload file size for PHP website ?

Solution Verified - Updated -

Issue

  • How to change maximum upload file size for PHP website ?
  • How to increase the PHP file Upload size limit ?
  • How to limit maximum execution time for the PHP script ?

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 6.x
    • 7.x
    • 8.x
  • PHP
  • PHP-FPM

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In