Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 10 of 10
  1. #1
    bt4
    bt4 is offline
    Member
    Join Date
    Jul 2010
    Posts
    64

    Default i cant Import more 50 MB phpmyadmin

    i cant Import more 50 MB phpmyadmin
    how i can edit this for more 50 MB ?
    thanks

  2. #2
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: i cant Import more 50 MB phpmyadmin

    Do you have direct root SSH access to the machine? If you do not, then you won't be able to change the setting.

    If you do, then it is the following setting in /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini file:

    Code:
    upload_max_filesize = 50M
    Thanks.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  3. #3
    bt4
    bt4 is offline
    Member
    Join Date
    Jul 2010
    Posts
    64

    Default Re: i cant Import more 50 MB phpmyadmin

    yes i have root access and i change it after restart mysql and restart server nothing changed !

  4. #4
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: i cant Import more 50 MB phpmyadmin

    Can you do a search for all php.ini files on the machine?

    Code:
    find /usr -name php.ini
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  5. #5
    bt4
    bt4 is offline
    Member
    Join Date
    Jul 2010
    Posts
    64

    Default Re: i cant Import more 50 MB phpmyadmin

    Code:
    /usr/lib/php.ini
    /usr/php4/lib/php.ini
    /usr/local/lib/php.ini
    /usr/local/php4/lib/php.ini
    /usr/local/cpanel/3rdparty/etc/roundcube/php.ini
    /usr/local/cpanel/3rdparty/etc/phppgadmin/php.ini
    /usr/local/cpanel/3rdparty/etc/php.ini
    /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini
    /usr/local/cpanel/3rdparty/etc/horde/php.ini
    from file /usr/local/cpanel/3rdparty/etc/php.ini
    i can edit but cant edit to more 55M it mean when i insert 90 MB it just show 55 MB from phpmyadmin
    when i edit to under 55 MB it edited from phpmyadmin

    now i ask why i can edit to more 55 MB

  6. #6
    Member
    Join Date
    Jan 2011
    Posts
    505
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: i cant Import more 50 MB phpmyadmin

    Hello,

    You also need to increase the value for post_max_size.

    This will work out!

  7. #7
    Member
    Join Date
    Nov 2007
    Posts
    865

    Thumbs up Re: i cant Import more 50 MB phpmyadmin

    yes, You would also need to increase the value for post_max_size.

    which is located at /usr/local/lib/php.ini

    take a backup of this file for safer side

    # cp /usr/local/lib/php.ini /usr/local/lib/php.ini.BKP
    Code:
    vi /usr/local/lib/php.ini
    ; Maximum size of POST data that PHP will accept.
    post_max_size = 50M

  8. #8
    bt4
    bt4 is offline
    Member
    Join Date
    Jul 2010
    Posts
    64

    Default Re: i cant Import more 50 MB phpmyadmin

    i did! but nothing changed from phpmyadmin

  9. #9
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    somewhere over the rainbow
    Posts
    6,305
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: i cant Import more 50 MB phpmyadmin

    Editing the global php.ini at /usr/local/lib/php.ini does not increase values in the internal PHP for cPanel for PhpMyAdmin. You have to edit the internal php.ini, which apparently it is reading from /usr/local/cpanel/3rdparty/etc/php.ini rather than /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini one.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  10. #10
    Member
    Join Date
    Nov 2010
    Posts
    15

    Default Re: i cant Import more 50 MB phpmyadmin

    Dear,

    After login in your PHPMyAdmin panel.

    Click on your database on top left, and then Click on SQL.

    There you can past and copy the tabels one by one in that form. And Click start to upload.

    I use this method, its the best.

    Goodluck,
    Dave.

Similar Threads & Tags
Similar threads

  1. phpMyAdmin can't export/import DB
    By sentono in forum Database Discussions
    Replies: 8
    Last Post: 12-17-2010, 01:44 PM
  2. phpMyAdmin 3.2.4 Import ZIP Support
    By Technus007 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-15-2010, 11:47 AM
  3. phpMyAdmin cannot upload or import databases.
    By furtif in forum Database Discussions
    Replies: 30
    Last Post: 02-20-2010, 01:35 PM
  4. phpMyAdmin 3.2.4 import error after cPanel Upgrade
    By rageracer in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 02-19-2010, 05:18 PM
  5. Phpmyadmin no longer has the import a text file option
    By tabuladze in forum Data Protection
    Replies: 2
    Last Post: 05-04-2006, 09:58 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube