Latest litespeed version and jvideodirect

Discussion in 'General' started by dimmis, Jul 19, 2010.

  1. dimmis

    dimmis New Member

    Hello,

    after install of latest version, jvideodirect which is a joomla component stopped working.

    Could you please help in soving this issue?
    What info do you need in order to help in that?

    Regards,
    dim
  2. mistwang

    mistwang LiteSpeed Staff

    It should be a issue with PHP, check if PHP has all required modules.
    check error log and stderr.log for errors.
  3. dimmis

    dimmis New Member

    Hello,

    For a strange reason we cannot go into admin console........
    It doesnt open at all.....
    Can you please advise?
  4. cmanns

    cmanns New Member

    Did you build compatible PHP?

    Try executing the LSPHP binary -v and -m? whichever it is for modules (try -h for the help output)

    It's probably PHP related.
  5. dimmis

    dimmis New Member

    Thanks for your prompt response....
    Think is that our admin is away for a few days and i m a bit afraid to do what you say in order not to damage the server.....:confused:
    Are these commands you are proposing safe?
  6. cmanns

    cmanns New Member

    -v outputs version.

    If you have improperly installed php extensions it'll possibly error there.

    It's -m for modules, sometimes this catches a module not loading right -v wont show.

    You can run as any user that has access to PHP.

    Code:
    [cmanns@cmanns ~]#php-cgi -m
    [PHP Modules]
    bcmath
    bz2
    calendar
    cgi-fcgi
    ctype
    curl
    date
    dom
    exif
    filter
    ftp
    gd
    gettext
    hash
    iconv
    imap
    ionCube Loader
    json
    libxml
    mbstring
    mcrypt
    mhash
    mysql
    mysqli
    openssl
    pcre
    PDO
    pdo_sqlite
    posix
    Reflection
    session
    SimpleXML
    sockets
    SPL
    SQLite
    standard
    tokenizer
    XCache
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    zip
    zlib
    
    [Zend Modules]
    XCache
    the ionCube PHP Loader
    
  7. dimmis

    dimmis New Member

    Is this ok?

    [PHP Modules]
    bcmath
    bz2
    calendar
    ctype
    curl
    date
    dbase
    dom
    exif
    filter
    ftp
    gd
    gettext
    hash
    iconv
    imap
    ionCube Loader
    json
    libxml
    mbstring
    mcrypt
    mhash
    mime_magic
    mysql
    mysqli
    openssl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    posix
    Reflection
    session
    SimpleXML
    soap
    sockets
    SourceGuardian
    SPL
    SQLite
    standard
    suhosin
    tidy
    tokenizer
    wddx
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    Zend Optimizer
    zip
    zlib

    [Zend Modules]
    Zend Optimizer
    the ionCube PHP Loader
  8. cmanns

    cmanns New Member

    Looks fine to me but I don't use Zend Optimizer.

    Appears maybe this is a cPanel system?
  9. dimmis

    dimmis New Member

    Yes it is!
  10. cmanns

    cmanns New Member

    Okay now we're further.

    Did you build a matching PHP binary in LiteSpeed?
  11. dimmis

    dimmis New Member

    Can this be checked by me?
  12. cmanns

    cmanns New Member

    WHM -> Plugins -> LiteSpeed

    Somewhere around there.

    In shell

    locate lsphp

    Should find lsphp5 (or via ps aux | grep lsphp maybe) get the path to your lsphp5

    Probably uh
    Code:
    [root@shared-eu ~]#whereis lsphp5
    lsphp5:
    [root@shared-eu ~]#whereis lsphp
    lsphp: /usr/local/bin/lsphp
    [root@shared-eu ~]#/usr/local/bin/lsphp
    
    
    [root@shared-eu ~]#/usr/local/bin/lsphp -v
    PHP 5.2.13 (litespeed) (built: Jul 20 2010 05:55:04)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
        with XCache v1.3.0, Copyright (c) 2005-2009, by mOo
        with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd.
    
    Might want to wait for your sysadmin I can't help every step here though I could probably solve it in 15 minutes :)
  13. dimmis

    dimmis New Member

    I know and i appreciate your help i lot.......this is what i got:


    [root /]# /usr/local/bin/lsphp -v
    PHP 5.2.13 (litespeed) (built: Jul 14 2010 20:44:48)
    Copyright (c) 1997-2004 The PHP Group
    Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies
    with Suhosin v0.9.31, Copyright (c) 2007-2010, by SektionEins GmbH
    [root /]#
  14. cmanns

    cmanns New Member

    Now compare with php-cgi -v output, do you have Suhosin there?

    I don't use Suhosin even as a shared host, it caused random white pages for me (FreeBSD ports installs it default) and I don't like white pages, so it's slight overhead for "more secure" PHP, that PHP Group themselves can't offer, I don't use it.

    Not telling you for or against it, I'd try it on a less then 2-3 site system but not one with 30+ :)

Share This Page