Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_pre.php on line 387

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 337

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 341

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 343
Increasing max upload file size in cPanel phpMyAdmin - cPanel Forums


Page 1 of 2 12 LastLast
Results 1 to 15 of 18

Thread: Increasing max upload file size in cPanel phpMyAdmin

  1. #1
    Registered Member
    Join Date
    Oct 2006
    Posts
    175

    Default Increasing max upload file size in cPanel phpMyAdmin

    We are using phpmyadmin that was installed with Cpanel. How do we increase the size of the Max Upload Size in pypmhadmin? Tech support has modified the php.ini file but no increase yet. They think this is hard coded into phpmyadmin. Any thoughts?

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,289
    cPanel/WHM Access Level

    Root Administrator

    Default

    As far as I know, php.ini affects the Apache implementation of PHP (port 80) not the implementation of PHP that phpMyAdmin runs on when in cPanel and WHM (port 2082-3). Keep in mind pages served on ports 208x are served by cpsrvd, not Apache.

    The PHP implementation you would need to modify should be located in /usr/local/cpanel/3rdparty/bin/php

  3. #3
    Registered Member
    Join Date
    Feb 2004
    Posts
    203

    Default

    Quote Originally Posted by cPanelDavidG View Post
    The PHP implementation you would need to modify should be located in /usr/local/cpanel/3rdparty/bin/php
    No, is here
    /usr/local/cpanel/3rdparty/etc/php.ini
    Last edited by cPanelDavidG; 11-30-2006 at 03:24 PM.

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,289
    cPanel/WHM Access Level

    Root Administrator

    Default

    Oops, thanks for the correction.

    Sorry for the accidental edit there too... I undid what I did so "no harm no fowl"

  5. #5
    Registered Member
    Join Date
    Oct 2006
    Posts
    175

    Default

    Thanks, just forwarded the info the tech support. Let's see what happens.

  6. #6
    Registered Member
    Join Date
    Oct 2006
    Posts
    175

    Default

    Tech support has come back and let us know that they have updated the file from above to 200 MB but phpmyadmin still says (Max: 51,200KiB).

    Any ideas?

  7. #7
    Registered Member
    Join Date
    Feb 2004
    Posts
    203

    Default

    Have you restarted cpanel services?

  8. #8
    Registered Member
    Join Date
    Oct 2006
    Posts
    175

    Default

    Quote Originally Posted by flash7 View Post
    Have you restarted cpanel services?
    I am inside WHM but cannot find a link to do this. I can see these under restart services:

    DNS Server (BIND)
    E-Commerce Server (Interchange)
    FTP Server (ProFTPd/PureFTPd)
    HTTP Server (Apache)
    IMAP Server (uwimap)
    Mail Server (Exim)
    POP3 Server (cppop)
    SQL Server (MySQL)
    SSH Server (OpenSSH)

    Would any of these be it?

  9. #9
    Registered Member
    Join Date
    Nov 2006
    Location
    Lithuania
    Posts
    121

    Default

    Quote Originally Posted by mealto View Post
    Would any of these be it?
    Via SSH execute service cpanel restart
    Gytis Repecka aka Kelmas
    NFS Tuning / AutoNews.lt webmaster, IT journalist

  10. #10
    Registered Member
    Join Date
    Oct 2006
    Posts
    175

    Default

    Quote Originally Posted by Kelmas View Post
    Via SSH execute service cpanel restart
    Just ran it and got confirmation that everything restarted with am OK status. phpmyadmin stil showing 50 MB limit. Any ideas?

    Noticed that Melange Chat & InterChance "failed". Is this normal?

  11. #11
    Registered Member
    Join Date
    Feb 2004
    Posts
    203

    Default

    Also change that parameter:
    post_max_size = 55M

    then restart cpanel
    service cpanel restart



    Noticed that Melange Chat & InterChance "failed". Is this normal?
    yes

  12. #12
    Registered Member
    Join Date
    Oct 2006
    Posts
    175

    Default

    Quote Originally Posted by flash7 View Post
    Also change that parameter:
    post_max_size = 55M

    then restart cpanel
    service cpanel restart




    yes
    I just ran this

    nano /usr/local/cpanel/3rdparty/etc/php.ini

    and changed this line:

    upload_max_filesize = 150M

    Restarted Cpanel and Apache and phpmyadmin is still showing 51,200kIB in max upload file size?

    What is going on?

    Addn. Restarted A new browser sessions and max upload size in phpmyadmin is Max: 56,320KiB. Why the small increase?

  13. #13
    Registered Member
    Join Date
    Feb 2004
    Posts
    203

    Default

    Change

    upload_max_filesize = 150M

    AND

    post_max_size = 150M


  14. #14
    Registered Member
    Join Date
    Oct 2006
    Posts
    175

    Default

    I see, there are 2 lines. Here is what I have in the .ini file. Should:

    post_max_size = 150M

    be in this section too?

    ;;;;;;;;;;;;;;;;
    ; File Uploads ;
    ;;;;;;;;;;;;;;;;
    file_uploads = On
    ;upload_tmp_dir =
    upload_max_filesize = 50M

    Where is it?

  15. #15
    Registered Member
    Join Date
    Oct 2006
    Posts
    175

    Default

    Anyone know about this?

Page 1 of 2 12 LastLast

Similar Threads

  1. Increasing max upload size > 2GB
    By Kevin Wenger in forum General Discussion
    Replies: 3
    Last Post: 08-04-2012, 05:08 PM
  2. Increasing max upload file size in cPanel phpMyAdmin
    By mealto in forum Database Discussions
    Replies: 15
    Last Post: 09-03-2010, 12:54 AM
  3. php max upload size
    By dragon2611 in forum General Discussion
    Replies: 2
    Last Post: 12-16-2007, 06:17 AM
  4. setting max file size upload through file manager?
    By irate in forum General Discussion
    Replies: 6
    Last Post: 01-09-2005, 01:58 PM
  5. increasing max file size upload php
    By jdawes in forum General Discussion
    Replies: 5
    Last Post: 02-17-2004, 06:59 PM
bargain