LSWS PHP LSAPI Build Troubleshooting Guide

Embed Size (px)

Citation preview

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    1/19

    LSWS PHP/LSAPI Build troubleshooting guide

    Preamble

    This document log error messages during the php build stage for LiteSpeed Web Server

    (LSWS) and their relevant fixes. The general PHP/LSP! build procedures are describedin PHP "/# $ith LSP! %ompile/!nstall Ho$&To. s of this $riting' the latest php #..* isout. The latest LSP! is at version #.#. We $ill use php #..* and LSP! #.# as an

    example to build LSPHP.

    Procedures

    . Pre&re+uisites

    ,a-e sure all the build tools are installed and read patch' gcc' glibc' libstdc00' gcc&c00' binutils' libtool' autoconf' ma-e

    CentOS: yum install patch gcc glibc libstdc++ gcc-c++ binutils libtoolautoconf make

    CentOS (64bit): yum install patch.!6"64 gcc.!6"64 glibc.!6"64 libstdc++.!6"64 gcc-c++.!6"64 #

    binutils.!6"64 libtool.!6"64 autoconf.!6"64 make.!6"64

    $buntu (%&bit o' 64bit): apt-get install patch gcc glibc libstdc++ gcc-c++binutils libtool autoconf make

    . 1o$nload PHP source and unpac- it

    get -* http:us&.php.netgetphp-,.&.6.ta'.gf'omus.php.netmi''o'

    ta' -f php-,.&.6.ta'.g

    2. 1o$nload LSP! source and unpac- it

    cd php-,.&.6sapi

    get -* http:.litespeedtech.compackageslsapiphp-litespeed-,.,.tg

    ta' -f php-litespeed-,.,.tg

    Note:LSP! #.# is shipped $ith PHP source from PHP #.2 on$ard. This step can bes-ipped if ou build PHP #.2 or above.

    ". cd to php source director and rebuild configure script

    cd ..

    touch ac/

    .buildconf --fo'ce

    http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:lsapihttp://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:php:lsapi
  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    2/19

    Possible errors and their fixes

    Note:3penS4S5 error fixes are generall the same as the %ent3S fixes listed belo$except that 6um7 should be replaced $ith 68pper7.

    Error Message:

    0o'cing buildconf

    .buildconf: line 4: make: command not found

    Reason:,issing 9ma-e9 program in the build sstem.

    Fix:!nstall 9ma-e9 program.

    CentOS: yum install make

    CentOS (64bit): yum install make.!6"64

    $buntu (%&bit o' 64bit): apt-get install make

    Error Message:

    buildconf: autoconf not found.

    1ou need autoconf 2e'sion &.% o' nee' installed

    to build 33 f'om C5S.

    make: /// buildmk.stamp7 8''o'

    or

    Cannot find autoconf. 3lease check you' autoconf installation and the

    933"$;OCO*0 en2i'onment 2a'iable. ;hen< 'e'un this sc'ipt.

    ause:,issing 9autoconf9 program in the build sstem.

    Fix:!nstall 9autoconf9 program.

    CentOS: yum install autoconf(.!6"64)

    $buntu (%&bit o' 64bit): apt-get install autoconf

    Error Message:

    0o'cing buildconf

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    3/19

    buildconf: checking installation...

    buildconf: autoconf 2e'sion &.,= (ok)

    buildconf: 1ou' 2e'sion of autoconf likely contains buggy cache code.

    >unning 2csclean fo' you.

    ;o a2oid this< install autoconf-&.%.

    Can?t figu'e out you' 5CS< not cleaning.

    ause:9autoconf9 program is bugg in the build sstem.

    Fix:!nstall 9autoconf29 program.

    CentOS: yum install autoconf&%(.!6"64)

    $buntu (%&bit o' 64bit): apt-get install autoconf&.%

    epo't 33"$;OCO*0@us'binautoconf-&.%

    epo't 33"$;O8A8>@us'binautoheade'-&.%

    %onfigure/%ompilation

    ". %onfigure/%ompile PHP $ith LSP! (LSPHP)

    ?.configu'e? ?--p'efi@lsphp,? ?--ith-litespeed? ?--ith-libdi'@lib64? #

    ?--disable-debug? ?--ith-pic? ?--disable-'path? ?--ithout-pea'? ?--ith-b&? ?--ith-eec-di'@us'bin? #

    ?--ith-f'eetype-di'@us'? ?--ith-png-di'@us'? ?--ith-pm-di'@us'? ?--enable-gd-nati2e-ttf? ?--ithout-gdbm? ?--ith-tlib@us'? #

    ?--ith-gettet? ?--ith-gmp? ?--ith-icon2? ?--ith-Bpeg-di'@us'? ?--ith-openssl? ?--ith-pc'e-'ege@sha'ed

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    4/19

    ?--enable-mbst'ing@sha'ed? ?--enable-mb'ege? ?--ith-ncu'ses@sha'ed? ?--ith-gd@sha'ed? ?--enable-bcmath@sha'ed? #

    ?--enable-dba@sha'ed? ?--ith-db4@us'? ?--ith-ml'pc@sha'ed? ?--ith-ldap@sha'ed? ?--ith-ldap-sasl? #

    ?--ith-mysDl@sha'ed

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    5/19

    yum install libml&-de2el.!6"64 openssl-de2el.!6"64 bip&-de2el.!6"64cu'l-de2el.!6"64 db4-de2el.!6"64 #

    libBpeg-de2el.!6"64 libpng-de2el.!6"64 libFpm-de2el.!6"64 f'eetype-de2el.!6"64 gmp-de2el.!6"64 #

    libc-client-de2el.!6"64 openldap-de2el.!6"64 libmc'ypt-de2el.!6"64libmhash-de2el.!6"64 f'eetds-de2el.!6"64 #

    lib-de2el.!6"64 mysDl-de2el.!6"64 ncu'ses-de2el.!6"64 pc'e-de2el.!6"64uniOAEC-de2el.!6"64 postg'esDl-de2el.!6"64 #

    sDlite-de2el.!6"64 aspell-de2el.!6"64 'eadline-de2el.!6"64 'ecode-de2el.!6"64 net-snmp-de2el.!6"64 #

    libtidy-de2el.!6"64 libslt-de2el.!6"64 tlib-de2el.!6"64

    1ue to pac-age name change' use follo$ings for %ent3S *. @ou ma need 5P5L

    repositorto get them all installed

    %ent3S *

    yum install libml&-de2el openssl-de2el bip&-de2el libcu'l-de2el db4-de2el libBpeg-de2el libpng-de2el libFpm-de2el #

    f'eetype-de2el gmp-de2el libc-client-de2el openldap-de2el libmc'ypt-de2elmhash-de2el f'eetds-de2el #

    lib-de2el mysDl-de2el ncu'ses-de2el pc'e-de2el uniOAEC-de2el postg'esDl-de2el sDlite-de2el aspell-de2el #

    'eadline-de2el 'ecode-de2el net-snmp-de2el libtidy-de2el libslt-de2eltlib-de2el

    %ent3S * x>*?*"

    yum install libml&-de2el.!6"64 openssl-de2el.!6"64 bip&-de2el.!6"64libcu'l-de2el.!6"64 db4-de2el.!6"64 #

    libBpeg-de2el.!6"64 libpng-de2el.!6"64 libFpm-de2el.!6"64 f'eetype-de2el.!6"64 gmp-de2el.!6"64 #

    libc-client-de2el.!6"64 openldap-de2el.!6"64 libmc'ypt-de2el.!6"64mhash-de2el.!6"64 f'eetds-de2el.!6"64 #

    lib-de2el.!6"64 mysDl-de2el.!6"64 ncu'ses-de2el.!6"64 pc'e-de2el.!6"64uniOAEC-de2el.!6"64 postg'esDl-de2el.!6"64 #

    sDlite-de2el.!6"64 aspell-de2el.!6"64 'eadline-de2el.!6"64 'ecode-de2el.!6"64 net-snmp-de2el.!6"64 #

    libtidy-de2el.!6"64 libslt-de2el.!6"64 tlib-de2el.!6"64

    4buntu

    http://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository.3Fhttp://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository.3Fhttp://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository.3Fhttp://fedoraproject.org/wiki/EPEL/FAQ#How_can_I_install_the_packages_from_the_EPEL_software_repository.3F
  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    6/19

    apt-get install libml&-de2 libssl-de2 libb&-de2 libcu'l%-de2 libdb4.4-de2libBpeg-de2 libpng-de2 libFpm-de2 #

    libf'eetype6-de2 libt-de2 libgmp%-de2 libc-client-de2 libldap&-de2libmc'ypt-de2 libmhash-de2 f'eetds-de2 lib-de2 #

    libmysDlclient,-de2 ncu'ses-de2 libpc'e%-de2 uniOAEC-de2 postg'esDl-se'2e'-de2-!.% libsDlite-de2 libaspell-de2 #

    lib'eadline,-de2 lib'ecode-de2 libsnmp-de2 libtidy-de2 libslt-de2 libt-de2

    3penS4S5

    yppe' install libml&-de2el openssl-de2el bip&-de2el libcu'l-de2el db4-de2el libBpeg-de2el libpng-de2el libFpm-de2el #

    f'eetype-de2el gmp-de2el libc-client-de2el openldap-de2el libmc'ypt-de2elmhash-de2el f'eetds-de2el #

    lib-de2el mysDl-de2el ncu'ses-de2el pc'e-de2el uniOAEC-de2el postg'esDl-de2el sDlite-de2el aspell-de2el #

    'eadline-de2el 'ecode-de2el net-snmp-de2el libtidy-de2el libslt-de2eltlib-de2el

    3penS4S5 x>*?*"

    yppe' install libml&-de2el.!6"64 openssl-de2el.!6"64 bip&-de2el.!6"64

    libcu'l-de2el.!6"64 db4-de2el.!6"64 #

    libBpeg-de2el.!6"64 libpng-de2el.!6"64 libFpm-de2el.!6"64 f'eetype-de2el.!6"64 gmp-de2el.!6"64 #

    libc-client-de2el.!6"64 openldap-de2el.!6"64 libmc'ypt-de2el.!6"64mhash-de2el.!6"64 f'eetds-de2el.!6"64 #

    lib-de2el.!6"64 mysDl-de2el.!6"64 ncu'ses-de2el.!6"64 pc'e-de2el.!6"64uniOAEC-de2el.!6"64 postg'esDl-de2el.!6"64 #

    sDlite-de2el.!6"64 aspell-de2el.!6"64 'eadline-de2el.!6"64 'ecode-de2el.!6"64 net-snmp-de2el.!6"64 #

    libtidy-de2el.!6"64 libslt-de2el.!6"64 tlib-de2el.!6"64

    Possible errors and their fixes

    Error Message:

    Can not patch Suhosin

    ause:Program 9patch9 is missing on the building server.

    Fix:!nstall 9patch9 program

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    7/19

    CentOS: yum install patch

    CentOS(64bit): yum install patch.!6"64

    $buntu: apt-get install patch

    Error Message:

    Can not make

    ause:Program 9ma-e9 is missing on the building server.

    Fix:!nstall 9ma-e9 program

    CentOS: yum install make

    CentOS(64bit): yum install make.!6"64

    $buntu: apt-get install make

    Error Message:

    Could not find ml&-config

    ause:configure option 9:$ith&libxml&dir;/usr9 used B!"pac-age libxml&devel is

    missing.

    Fix:!nstall 9libxml&devel9 pac-age

    CentOS: yum install libml&-de2el

    CentOS(64bit): yum install libml&-de2el.!6"64

    $buntu: apt-get install libml&-de2el

    Error Message:

    Could not find e2p.h

    ause:configure option 9:$ith&openssl9 used B!" #a$%age o#enssl&de'el()x*+,+-.is issing.

    Fix:

    CentOS: yum install openssl-de2el

    CentOS(64bit): yum install openssl-de2el.!6"64

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    8/19

    $buntu: apt-get install libssl-de2

    Error Message:

    checking fo' EGip& suppo't... yes

    checking fo' EGip& in default path... not found

    configu'e: e''o': 3lease 'einstall the EGip& dist'ibution

    ause:configure option 9:$ith&b89 used B!" b0i#1&de'el()x*+,+-. is issing.

    Fix:

    CentOS: yum install bip&-de2el

    CentOS(64bit): yum install bip&-de2el.!6"64

    $buntu: apt-get install libb&-de2

    Error Message:

    checking fo' c$>H suppo't... yes< sha'ed

    checking if e should use c$>H fo' u'l st'eams... no

    checking fo' c$>H in default path... not found

    configu'e: e''o': 3lease 'einstall the libcu'l dist'ibution -

    easy.h should be in Icu'l-di'Jincludecu'l

    //8>>O>// Could not configu'e 33 build

    ause:configure option 9:$ith&curl;shared'/usr9 used but $url&de'el()x*+,+-.

    #a$%age is issing

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    9/19

    Error:

    configu'e: e''o': AE: Could not find necessa'y heade' file(s).

    //8>>O>// Could not configu'e 33 build

    ause:configure $ith option 9:enable&dba;shared9 9:$ith&db";/usr9 one o2 3B librar4#a$%ages (3B-. is issing

    >O>// Could not configu'e 33 build

    ause:configure $ith option 9:$ith&png&dir;/usr9 but lib#ng&de'el()x*+,+-.#a$%age is issing

    Fix:

    CentOS: yum install libpng-de2el

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    10/19

    CentOS(64bit): yum install libpng-de2el.!6"64

    $buntu: apt-get install libpng-de2

    Error Message:

    configu'e: e''o': libFpm.(aLso) not found.

    //8>>O>// Could not configu'e 33 build

    ause:configure $ith 9:$ith&xpm&dir;/usr9 but lib6#&de'el()x*+,+-. #a$%age is

    issing

    Fix:

    CentOS: yum install libFpm-de2el

    CentOS(64bit): yum install libFpm-de2el.!6"64

    $buntu: apt-get install libFpm-de2

    Error Message:

    configu'e: e''o': f'eetype.h not found.

    //8>>O>// Could not configu'e 33 build

    ause:configure $ith 9:$ith&freetpe&dir;/usr9 but 2reet4#e&de'el()x*+,+-.#a$%age is issing

    Fix:

    CentOS: yum install f'eetype-de2el

    CentOS(64bit): yum install f'eetype-de2el.!6"64

    $buntu: apt-get install libf'eetype6-de2

    Error Message:

    configu'e: e''o': 1ou' tlib dist'ibution is not installed co''ectly.3lease 'einstall it.

    //8>>O>// Could not configu'e 33 build

    ause:configure $ith 9:$ith&tlib;/usr9 but t7lib&de'el()x*+,+-. #a$%age is

    issing

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    11/19

    Fix:

    CentOS: yum install tlib-de2el

    CentOS(64bit): yum install tlib-de2el.!6"64

    $buntu: apt-get install libt-de2

    Error Messages:

    configu'e: e''o': $nable to locate gmp.h

    //8>>O>// Could not configu'e 33 build

    ause:configure $ith 9:$ith&gmp9 but g#&de'el()x*+,+-. #a$%age is issing

    Fix:

    CentOS: yum install gmp-de2el

    CentOS(64bit): yum install gmp-de2el.!6"64

    $buntu: apt-get install libgmp%-de2

    Error Message:

    checking fo' $!;"A8COM3OS8...

    configu'e: e''o': utf!"mime&tet() has ne signatu'e< but $!;"C*O*KCH ismissing.

    ;his should not happen. Check config.log fo' additional info'mation.

    ause:configure $ith 9:$ith&imap;shared9 9:$ith&imap&ssl9 but libc&client&devel(.x>*?*") pac-age is missing

    Fix:

    CentOS: yum install libc-client-de2el

    CentOS(64bit): yum install libc-client-de2el.!6"64

    $buntu: apt-get install libc-client-de2

    Error Message:

    checking fo' HA3 suppo't... yes< sha'ed

    checking fo' HA3 Cy'us SSH suppo't... yes

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    12/19

    configu'e: e''o': Cannot find ldap.h

    ause:configure $ith 9:$ith&ldap;shared9 9:$ith&ldap&sasl9 but o#enlda#&de'el()x*+,+-. #a$%age is issing

    Fix:

    CentOS: yum install openldap-de2el

    CentOS(64bit): yum install openldap-de2el.!6"64

    $buntu: apt-get install libldap&-de2

    Error Message:

    checking fo' mc'ypt suppo't... yes< sha'ed

    configu'e: e''o': mc'ypt.h not found. 3lease 'einstall libmc'ypt.

    ause:configure $ith 9:$ith&mcrpt;shared'/usr9 but lib$r4#t&de'el()x*+,+-.#a$%age is issing

    Fix:

    CentOS: yum install libmc'ypt-de2el

    CentOS(64bit): yum install libmc'ypt-de2el.!6"64

    $buntu: apt-get install libmc'ypt-de2

    Error Message:

    checking fo' mhash suppo't... yes< sha'ed

    configu'e: e''o': 3lease 'einstall libmhash - K cannot find mhash.h

    ause:configure $ith 9:$ith&mhash;shared'/usr9 but libhash&de'el()x*+,+-.#a$%age is issing

    Fix:

    CentOS: yum install libmhash-de2el

    CentOS(64bit): yum install libmhash-de2el.!6"64

    CentOS 6: yum install mhash-de2el

    CentOS 6(64bit): yum install mhash-de2el.!6"64

    $buntu: apt-get install libmhash-de2

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    13/19

    Error Message:

    checking fo' MSSNH suppo't 2ia 0'ee;AS... yes< sha'ed

    configu'e: e''o': Ai'ecto'y us' is not a 0'ee;AS installation di'ecto'y

    ause:configure $ith option 9:$ith&freetpe&dir;/usr9 but 2reetds&de'el()x*+,+-.#a$%age is issing

    Fix:

    CentOS: yum install f'eetds-de2el

    CentOS(64bit): yum install f'eetds-de2el.!6"64

    $buntu: apt-get install f'eetds-de2

    Error Message:

    configu'e: e''o': Cannot find lib.

    //8>>O>// Could not configu'e 33 build

    ause:configure $ith 9:$ith&8lib9 but lib0&de'el()x*+,+-. #a$%age is issing

    Fix:

    CentOS: yum install lib-de2el

    CentOS(64bit): yum install lib-de2el.!6"64

    CentOS 6: yum install lib-de2el

    CentOS 6(64bit): yum install lib-de2el.!6"64

    $buntu: apt-get install lib-de2

    Error Message:

    configu'e: e''o': Cannot find MySNH heade' files unde' us'.

    *ote that the MySNH client lib'a'y is not bundled anymo'e

    ause:configure $ith 9:$ith&ms+l;shared'/usr9 but 4s8l&de'el()x*+,+-. #a$%ageis issing

    Fix:

    CentOS: yum install mysDl-de2el

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    14/19

    CentOS(64bit): yum install mysDl-de2el.!6"64

    $buntu: apt-get install libmysDlclient,-de2

    Error Message:

    checking fo' ncu'ses suppo't... yes< sha'ed

    not found

    configu'e: e''o': 3lease 'einstall the ncu'ses dist'ibution

    ause: configure $ith 9:$ith&ncurses;shared9 but n$urses&de'el()x*+,+-. #a$%ageis issing

    Fix:

    CentOS: yum install ncu'ses-de2el

    CentOS(64bit): yum install ncu'ses-de2el.!6"64

    $buntu: apt-get install ncu'ses-de2

    Error Message:

    checking fo' pc'e suppo't... yes< sha'ed

    not found

    configu'e: e''o': pc'e.h not found

    ause:configure $ith 9:$ith&pcre;shared'/usr9 but #$re&de'el()x*+,+-. #a$%age isissing

    Fix:

    CentOS: yum install pc'e-de2el

    CentOS(64bit): yum install pc'e-de2el.!6"64

    $buntu: apt-get install libpc'e%-de2

    Error Message:

    checking fo' O'acle (OCK!) suppo't... no

    checking fo' uniOAEC suppo't... configu'e: e''o': OAEC heade' file

    ?us'includesDlet.h? not found

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    15/19

    ause:configure $ith 9:$ith&unix31A%;shared'/usr9 but unix93B&de'el()x*+,+-.#a$%age is issing

    Fix:

    CentOS: yum install uniOAEC-de2el

    CentOS(64bit): yum install uniOAEC-de2el.!6"64

    $buntu: apt-get install uniOAEC-de2

    Error Message:

    checking fo' 3ostg'eSNH suppo't fo' 3AO... yes< sha'ed

    checking fo' pg"config... not found

    configu'e: e''o': Cannot find libpD-fe.h. 3lease specify co''ect 3ostg'eSNHinstallation path

    ause:configure $ith 9:$ith&pdo&pgs+l;shared'/usr9 but #ostgres8l&de'el()x*+,+-.

    #a$%age is issing

    Fix:

    CentOS: yum install postg'esDl-de2el

    CentOS(64bit): yum install postg'esDl-de2el.!6"64

    $buntu: apt-get install postg'esDl-se'2e'-de2-!.% (aptitude sea'chpostg'esDl L g'ep de2)

    Error Message:

    checking fo' sDlite% files in default path... not found

    configu'e: e''o': 3lease 'einstall the sDlite% dist'ibution

    ause: configure $ith 9:$ith&pdo&s+lite;shared'/usr9 but s8lite&de'el()x*+,+-.

    #a$%age is issing

    Fix:

    CentOS: yum install sDlite-de2el

    CentOS(64bit): yum install sDlite-de2el.!6"64

    $buntu: apt-get install libsDlite-de2

    Error Message:

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    16/19

    checking fo' 3S38HH suppo't... yes< sha'ed

    configu'e: e''o': Cannot find pspell

    ause:configure $ith 9:$ith&pspell;shared9 but as#ell&de'el()x*+,+-. #a$%age is

    issing

    Fix:

    CentOS: yum install aspell-de2el

    CentOS(64bit): yum install aspell-de2el.!6"64

    $buntu: apt-get install libaspell-de2

    Error Message:

    checking fo' 'eadline suppo't... yes

    configu'e: e''o': 3lease 'einstall 'eadline - K cannot find 'eadline.h

    ause:configure $ith 9:$ith&readline9 but readline&de'el()x*+,+-. #a$%age isissing

    Fix:

    CentOS: yum install 'eadline-de2el

    CentOS(64bit): yum install 'eadline-de2el.!6"64

    $buntu: apt-get install lib'eadline,-de2

    Error Message:

    checking fo' 'ecode suppo't... yes< sha'ed

    configu'e: e''o': Can not find 'ecode.h anyhe'e unde' us' us'local us'opt.

    ause:configure $ith 9:$ith&recode;shared'/usr9 but re$ode&de'el()x*+,+-.#a$%age is issing

    Fix:

    CentOS: yum install 'ecode-de2el

    CentOS(64bit): yum install 'ecode-de2el.!6"64

    $buntu: apt-get install lib'ecode-de2

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    17/19

    Error Message:

    checking fo' init"snmp in -lsnmp... no

    configu'e: e''o': S*M3 sanity check failed. 3lease check config.log fo'mo'e info'mation.

    ause:configure $ith 9:$ith&snmp;shared'/usr9 but net&sn#&de'el()x*+,+-.#a$%age is issing

    Fix:

    CentOS: yum install net-snmp-de2el

    CentOS(64bit): yum install net-snmp-de2el.!6"64

    $buntu: apt-get install libsnmp-de2

    Error Message:

    checking fo' ;KA1 suppo't... yes< sha'ed

    configu'e: e''o': Cannot find libtidy

    ause:configure $ith 9:$ith&tid;shared'/usr9 but libtid4&de'el()x*+,+-. #a$%age

    is issing

    Fix:

    CentOS: yum install libtidy-de2el

    CentOS(64bit): yum install libtidy-de2el.!6"64

    $buntu: apt-get install libtidy-de2

    Error Message:

    checking fo' FSH suppo't... yes< sha'ed

    configu'e: e''o': slt-config not found. 3lease 'einstall the libslt [email protected] dist'ibution

    ause:configure $ith 9:$ith&xsl;shared'/usr9 but libxslt&de'el()x*+,+-. #a$%age isissing

    Fix:

    CentOS: yum install libslt-de2el

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    18/19

    CentOS(64bit): yum install libslt-de2el.!6"64

    $buntu: apt-get install libslt-de2

    Error Message:

    configu'e: e''o': 'ecode etension can not be configu'ed togethe' ith:imap mysDl

    ause:

  • 8/9/2019 LSWS PHP LSAPI Build Troubleshooting Guide

    19/19

    litespeed?$i-i/php/lsapi/troubleshoot.txt C Last modified D"/D/D> *2 b ,ichael

    COMPANY

    About

    Careers

    Contact Us

    SUPPORT

    Forum

    Wiki

    Documentation

    STAY CONNECTED

    RSS

    Twitter

    Linkein

    Co!"ri#$t % &'()*&'(+ Lite S!ee Tec$no,o#ies -nc. A,, Ri#$ts Reser/e. 0Pri/ac" Po,ic"1

    S$ow !a#esource

    O, re/isions

    Lo#in

    Sitema!

    http://www.litespeedtech.com/company/abouthttp://www.litespeedtech.com/company/careershttp://www.litespeedtech.com/company/contact-ushttp://www.litespeedtech.com/support/forum/http://www.litespeedtech.com/support/wiki/http://www.litespeedtech.com/docs/webserver/http://blog.litespeedtech.com/http://www.twitter.com/litespeedtechhttp://www.linkedin.com/company/litespeed-technologieshttp://www.litespeedtech.com/company/about/privacy-policyhttp://www.litespeedtech.com/company/abouthttp://www.litespeedtech.com/company/careershttp://www.litespeedtech.com/company/contact-ushttp://www.litespeedtech.com/support/forum/http://www.litespeedtech.com/support/wiki/http://www.litespeedtech.com/docs/webserver/http://blog.litespeedtech.com/http://www.twitter.com/litespeedtechhttp://www.linkedin.com/company/litespeed-technologieshttp://www.litespeedtech.com/company/about/privacy-policy