Latest litespeed version and jvideodirect

dimmis

Active Member
#1
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
 

cmanns

Well-Known Member
#4
Hello,

For a strange reason we cannot go into admin console........
It doesnt open at all.....
Can you please advise?
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.
 

dimmis

Active Member
#5
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?
 

cmanns

Well-Known Member
#6
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?
-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
 

dimmis

Active Member
#7
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
 

cmanns

Well-Known Member
#12
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 :)
 

dimmis

Active Member
#13
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 /]#
 

cmanns

Well-Known Member
#14
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 /]#
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+ :)
 
Top