The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

phpMyAdmin enable zip support withotu runing

Discussion in 'Database Discussions' started by MrVon, Nov 11, 2011.

  1. MrVon

    MrVon Member

    Joined:
    Nov 3, 2011
    Messages:
    23
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    HTML:
    You attempted to load file with unsupported compression  (application/zip). Either support for it is not implemented or disabled  by your configuration.
    Enable .zip file import from cPanel phpmyadmin 			 		
    I know i can edit
    /var/cpanel/easy/apache/profile/makecpphp.profile.yaml
    change Cpanel::Easy::PHP5::Zip: 0 to Cpanel::Easy::PHP5::Zip: 1
    Then run /scripts/makecpphp question is what makecpphp will do will it reinstall recompile PHP?

    I dont need any changes to my current php setup and settings.
    If you download and install PhpMyAdmin in any site you it allows you to import zip files, so shold i just replace WHM phpMyAdmin in "/usr/local/cpanel/base/3rdparty/phpMyAdmin" with official latest version will this work or i will lose automatic login functionality from WHM?
    Or is there some setting i can edit in /usr/local/cpanel/base/3rdparty/phpMyAdmin to enable zip import without running makecpphp?

    C#@p i did "/scripts/makecpphp --help" and it triggered it... it specially say
    HTML:
    Rebuilding cPanel's internal PHP installation...
    (This is *NOT* the PHP installation used with Apache)
    in the end it throw

    HTML:
    /home/cpeasyapache/src/php-5.2.9/ext/standard/info.c: In function 'php_get_uname':
    /home/cpeasyapache/src/php-5.2.9/ext/standard/info.c:328: error: expected ';' before 'ip'
    /home/cpeasyapache/src/php-5.2.9/ext/standard/info.c:328:15: error: invalid suffix "ip.secureserver.net" on floating constant
    /home/cpeasyapache/src/php-5.2.9/ext/standard/info.c:328:15: error: too many decimal points in number
    /home/cpeasyapache/src/php-5.2.9/ext/standard/info.c:328:15: error: invalid digit "8" in octal constant
    /home/cpeasyapache/src/php-5.2.9/ext/standard/info.c:328: error: stray '#' in program
    /home/cpeasyapache/src/php-5.2.9/ext/standard/info.c:328: error: missing terminating " character
    make: *** [ext/standard/info.lo] Error 1
    make: *** Waiting for unfinished jobs....
    !! 'make -j2' failed with exit code '512' !!
    !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1321058860' !!
    
    Done rebuilding cPanel's internal PHP.
    Failed to build working PHP
    
    It seems like php is still same or its messed up someting? should i now reinstall apache using simpleapache again?
     
    #1 MrVon, Nov 11, 2011
    Last edited: Nov 11, 2011
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    You appear to have two sets of issues in this forum thread. One is wanting to enable zip support for PHPMyAdmin and the other has to do with having a working PHP after building PHP for cPanel.

    For zip support, if you install a new copy of PHPMyAdmin on an account, it will not have the automatic login function for WHM or that cPanel account. If you install a new copy of PHPMyAdmin that isn't replacing the existing cPanel version, you won't have automatic WHM login or cPanel login either. You'll also have PHPMyAdmin replaced whenever you run a forced cPanel update.

    As for the PHP not building for the internal PHP, it appears you might have mistakenly edited the yaml file for it. Do you happen to have a backup copy made of that yaml file or any other file you edited trying to get this to work? If so, please restore those backup copies and retry the command to run /scripts/makecpphp

    Otherwise, you will need to do a forced cPanel update after moving the file you edited out of the way. A forced update would be processed by running this command:

    Code:
    /scripts/upcp --force
     
Loading...

Share This Page