How to increase phpmyadmin upload size

November 29, 2018 900 views
PHP

I have installed One Click PHPMyadmin, i want to increase the upload size in it. how can i do it?

1 comment
  • In your php.ini file

    Create a file with this in it, in your directory root

    <?php

    // Show all information, defaults to INFO_ALL
    phpinfo();

    ?>

    And call it from the browser. It should tell you what php.ini file is loaded. Go to this file and change these two lines

    ; Maximum allowed size for uploaded files.
    uploadmaxfilesize = 40M

    ; Must be greater than or equal to uploadmaxfilesize
    postmaxsize = 40M

    Restart Apache

1 Answer

This question was answered by @albertramsbottom:

In your php.ini file

Create a file with this in it, in your directory root

<?php

// Show all information, defaults to INFO_ALL
phpinfo();

?>

And call it from the browser. It should tell you what php.ini file is loaded. Go to this file and change these two lines

; Maximum allowed size for uploaded files.
uploadmaxfilesize = 40M

; Must be greater than or equal to uploadmaxfilesize
postmaxsize = 40M

Restart Apache

View the original comment

Have another answer? Share your knowledge.