• Hi,

    How can i increase upload file size limited of 2M ?
    I have try create a php.ini in wp-admin but did not work (or i did it wrong there).

    What can i do ? Suggestions ?

    Best Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi rhercules!
    It’s ?yvind from Touchcoding here.
    what did you actually write in the php.ini file? This usually works.

    Here is the code I wrote to get it to work:

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300

    If this does not work I would suggest that you contact your web hosting provider to increase the limit for you.

    Cheers
    ?yvind
    [Signature moderated]

    Thread Starter rhercules

    (@rhercules)

    Hi,

    Thanks for helping here ??

    I’m using virtualbox for test the site so i move online.
    So my host its me. Its a limited on virtualbox ?
    That’s the code i use. Where do i put it and i need to what more ? Wait some time to things taker effect and how mutch 5m 1h … ?

    Best Regards

    Have you tried to restart virtualbox (restart apache). This should apply the changes you made.

    If that does not work there is two things you can do:

    1. Edit the theme functions file.

    Add the following code to the functions file:

    @ini_set( 'upload_max_size' , '64M' );
    @ini_set( 'post_max_size', '64M');
    @ini_set( 'max_execution_time', '300' );

    2. modifying Htaccess
    Open or create the .htaccess file in the root folder and add this code:

    php_value upload_max_filesize 64M
    php_value post_max_size 64M
    php_value max_execution_time 300
    php_value max_input_time 300

    Hope one of these methods worked out for you ??

    Cheers
    ?yvind
    [Signature moderated]

    Thread Starter rhercules

    (@rhercules)

    Thanks for the reply ??

    I’ll try this and se if this work.

    Best Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘2MB file size limited upload’ is closed to new replies.