• Hi everyone,

    I need to increase my PHP post as the following:
    PHP Post Max Size 130M The current value is insufficient to properly support the theme. Please adjust this value to 256 in order to meet the theme requirements.

    My theme support show these code to add on the .htaccess file:

    php_value post_max_size 256M

    php_value max_execution_time 300

    php_value memory_limit 128M
    php_value max_input_vars=3000

    I added the code after # END WordPress then before it and each time I got a 500 error.
    Could you please let me know where to add the code?

    Thanks

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Try removing the = on that last one.

    Thread Starter MissBB1

    (@missbb1)

    Thank you,
    Where should I put the code in the htaccess below?

    # BEGIN WordPress
    # The directives (lines) between BEGIN WordPress and END WordPress are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I’d put it before # BEGIN WordPress.

    Thread Starter MissBB1

    (@missbb1)

    I added it before # BEGIN WordPress but there is still a 500 error

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Comment out the lines, one at a time, until you find the culprit.

    Thread Starter MissBB1

    (@missbb1)

    Thank you, I will check it.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Increase PHP Post Max Size with ht access’ is closed to new replies.