Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member handsonhosting's Avatar
    Join Date
    Feb 2002
    Location
    Omaha, NE
    Posts
    150
    cPanel/Enkompass Access Level

    Root Administrator

    Default Apache compile ZIP

    Hi folks,

    I'm having some trouble with a client and their installation of Kayako on a dedicated server. Unfortunately going through Kayako is not yielding any results, so I figured I'd post an excerpt and get some ideas for you guys:

    The issue is

    "PHP Warning: Module 'zip' already loaded in Unknown on line 0"

    No matter how many times I search in the php.ini file there's only one reference to "zip.so". There's no user custom php.ini file or loading through .htaccess file of the zip extension.

    According to kaykao:
    "Having it loaded in the php.ini file when it's already compiled into the PHP binary is the problem. Not only do you not have to do that, you actually have to not do that. This is exactly backwards. This is, yet again, a problem in your PHP.ini. This has nothing to do with SupportSuite. The problem is that 1) this library is compiled into PHP and 2) this library is being loaded in PHP.ini. This is incorrect and must be fixed."

    Unfortuantely I've asked a few times what exactly they want done, but there's no resolve.

    Can anyone shed some light on what they're talking about and if the ZIP extension is being loaded somewhere other than in the php.ini? On the easyapache build, the ZIP extension was checked.

    Thanks in advance,

  2. #2
    Member handsonhosting's Avatar
    Join Date
    Feb 2002
    Location
    Omaha, NE
    Posts
    150
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Looks like if I remove the reference to the "zip.so" file in the php.ini then the error no longer shows.

    Weird - very weird.

    So now I guess I'm off to check on a test server if I compile apache does it make duplicate entries causing this double load of the module.

  3. #3
    Member
    Join Date
    Feb 2003
    Posts
    291

    Default

    Recompiling appache will not make double entry for the module. You can give it a try by recompiling apache.
    Mitul

  4. #4
    Registered User
    Join Date
    Dec 2008
    Posts
    1

    Default

    There's nothing weird about this - Kayako is explaining that Zip support has already been built-in to your version of PHP. Extensions can be built in to PHP when PHP gets compiled, so your version of PHP was compiled with the zip extension included. You are getting the error message because you're trying to load a module that is already loaded. Since it's already compiled into PHP, trying to load it again via php.ini is going to cause problems.

Similar Threads & Tags
Similar threads

  1. Compile PHP with --enable-zip configure option
    By itzhero in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-18-2008, 06:49 PM
  2. apache compile error
    By odi in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 07-08-2005, 09:16 PM
  3. Install PHP Zip module and zziplib - Compile PHP individually
    By Arvand in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 10-16-2003, 06:04 PM
  4. apache compile
    By shann in forum cPanel and WHM Discussions
    Replies: 15
    Last Post: 03-02-2003, 05:11 PM
  5. How do we compile Apache
    By shann in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-23-2002, 02:45 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube