Skip to content
No results
  • All articles
  • Showcase
  • About
  • Contact
draghici.net
  • All articles
  • Showcase
  • About
  • Contact
draghici.net

Increase the media size in your WordPress website

  • Cristi DraghiciCristi Draghici
  • July 5, 2017
  • Infrastructure

One way would be to edit your site’s .htaccess file and add some new lines of code.

They are:

php_value upload_max_filesize 64M
php_value post_max_size 64M

php_value max_execution_time 300
php_value max_input_time 300

Now you can upload files which are at most 64MB.

Tags
# Apache# php# Wordpress
Previous Post Creating a WP plugin and using Github for version control
Next Post river-functions

Recently updated

  • Another rebuild for my own website
  • Zend Certification Obtained
  • Points of interest
  • A small hosting server with Virtualmin and Debian 12
  • A simple way to put WordPress on Debian/Ubuntu

A quick note

I post here articles that I found interesting, solutions to problems I have encountered and last but not least, display information about my projects and achievements.

Categories

Everything else (15) Infrastructure (71) Programming (165) Useful tools (46)

draghici.net © 2006 - 2026 - Most of the rights reserved