Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Jul 2003
    Posts
    129

    Default Install PHP Zip module and zziplib - Compile PHP by hand

    Hello,

    A client asked to have zziplib installed to use with his gallery php script. I installed zziplib and it looks like it placed some files from the dev package into /usr/include and some into /usr/bin. Now the questions are:

    Since Cpanel uses easyapache to install apache/php how would I compile php again to use the same configuration (from phpinfo()) along with this extra zip --with-zip[=DIR]

    Second question is would the DIR be /usr?

    The server has phpsuexec on. Would this be possible? Use the source files in cpanel directory and ./configure it with all the options in phpinfo() along with this extra configure option. Then run sh install. Let me know how you go about compiling php with Cpanel on your servers (by hand without easyapache).

    Also, is there a possibility that there could be a feature added where we can include configure options into easyapache?

    Thank you,

    Arvand Sabetian

    cPanel.net Support Ticket Number:
    Last edited by Arvand; 09-25-2003 at 12:09 PM.

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    389

    Default RE: Install PHP Zip module and zziplib - Compile PHP individually

    Dear Arvand,

    Download easyapache and recompile apache adding
    ./configure --with-zip=/usr/local/apache. To keep the same configuration add the options with ./configure with the specified path. Yes it is possible with phpsuexec,but it is advisable to turn it off during php recompilation.There are also pure php classes that can handle zip files,for more information refer the URL

    http://www.phpconcept.net/pclzip/index.en.php

    Regards,

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. zziplib and PHP --with-zip support? (undefined function: zip_open())
    By cburchell in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 10-09-2007, 12:15 AM
  3. php double compile install?
    By djroketboy in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-25-2005, 10:28 PM
  4. compile php as static apache 1.3.x module
    By perception in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 05-18-2004, 02:06 PM
  5. How to install and compile php with PDFLib
    By shann in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 04-11-2003, 11:11 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube