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.

help on php module installation

Discussion in 'General Discussion' started by shann, Feb 26, 2003.

  1. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    Hi,

    One of our clinet requested follwing modules, how coul we intall?

    domxml, wddx, and iconv

    Any help is appreciatd.

    Thanks
    Shan
     
  2. jimcarter

    jimcarter Well-Known Member

    Joined:
    Jun 30, 2002
    Messages:
    152
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK
    Hi,
    Download and unpack the php source:
    http://www.php.net/get/php-4.3.1.tar.gz/from/us2.php.net/mirror
    Then go into the unpacked folder,
    Then configure php with the modules you want, the config line from one of my servers is:
    ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --enable-bcmath --enable-calendar --with-curl --with-swf=/usr/local/flash --enable-ftp --with-gd=../gd-2.0.4 --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-imap --with-imap-ssl --with-kerberos --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --with-ming=../ming-0.2a --enable-magic-quotes --with-mysql --with-pear --enable-xslt --with-xslt-sablot --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --enable-versioning --with-zlib
    so, say you wanted domxml you would add on --with-domxml
    etc until you have all of the modules needed
    then type make
    then type make install
    then restart apache
    if it runs through those steps without error you should now have a fully working php with the new modules :)
     
  3. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    hi

    HI,

    Have yo tried latest build. when I try to install, I got following message


    checking for DOM XSLT support... yes
    checking for DOM EXSLT support... yes
    not found
    configure: error: Please reinstall the libxslt >= 1.0.3 distributio

    Is anythign wrong with latest build?


    Thanks
    Shan
     
  4. shann

    shann Well-Known Member

    Joined:
    Jul 5, 2002
    Messages:
    366
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Website Owner
    module

    HI,

    Where I can get these module domxml, wddx, and iconv
    for php 4.3.1??

    It is urgent anyone can help?
     
  5. payne

    payne Well-Known Member

    Joined:
    May 31, 2003
    Messages:
    103
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Seattle
    Hey Jim,
    Do you need to install some of those extra options, like sablotron, before you run the config? Should I install the src or is the i386 fine? What version of Sablotron do you have running on this server? Did you need to tweak any paths?

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page