Support » Fixing WordPress » Changing the maximum upload size

  • Hello!

    I am trying to change the maximum upload size, in order to be able to upload video for mine header background. The video is about 28M.
    The default setting for mine wordpress is 2M.

    I opened wp-config.php: and pasted this lines at the beginning of page.
    It won’t work. Need you help please ..

    <?php
    /**
    * The base configuration for WordPress
    *
    * The wp-config.php creation script uses this file during the
    * installation. You don’t have to use the web site, you can
    * copy this file to “wp-config.php” and fill in the values.
    *
    * This file contains the following configurations:
    *
    * * MySQL settings
    * * Secret keys
    * * Database table prefix
    * * ABSPATH
    *
    * @link https://codex.wordpress.org/Editing_wp-config.php
    *
    * @package WordPress
    */

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    @ini_set( ‘upload_max_size’ , ’30M’ );
    @ini_set( ‘post_max_size’, ’13M’);
    @ini_set( ‘memory_limit’, ’15M’ );

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Changing the maximum upload size’ is closed to new replies.