4.1rc2

mistwang

LiteSpeed Staff
#22
Just use the same PHP version.
easiest way is to overwrite the /home/cpeasyapache/ls.src/php-5.xxxx/sapi/litespeed

with the new code,

Then type command "make" under /home/cpeasyapache/ls.src/php-5.xxxx

copy php-5.xxxx/sapi/litepseed/php to lsws/fcgi-bin/lsphp-5.xxxx
 

DraCoola

Well-Known Member
#24
Just use the same PHP version.
easiest way is to overwrite the /home/cpeasyapache/ls.src/php-5.xxxx/sapi/litespeed

with the new code,

Then type command "make" under /home/cpeasyapache/ls.src/php-5.xxxx

copy php-5.xxxx/sapi/litepseed/php to lsws/fcgi-bin/lsphp-5.xxxx
Already done as your instructed.
But nothing happen :confused:
Still showing for lsws only on top command and whm Main >> Server Status >> CPU/Memory/MySQL Usage.
Did I should still rebuild php again from litespeed whm main screen?
 

DraCoola

Well-Known Member
#25
I thought I know what I am missing :

Code:
root@xxx [/home/cpeasyapache/ls.src/php-5.2.11/sapi/litespeed]# cp php /usr/local/lsws/fcgi-bin/lsphp-5.2.11
cp: overwrite `/usr/local/lsws/fcgi-bin/lsphp-5.2.11'? y
cp: cannot create regular file `/usr/local/lsws/fcgi-bin/lsphp-5.2.11': Text file busy
How to copy that actually?

Thank you so very much :)
 

DraCoola

Well-Known Member
#26
UPDATE :

It is worked!!!
I have to switch lsws to apache first :p
Some scripts running under php are showed now.

Awesome, but still nearly perfect...
Using top and then type c will show php process under the user :
Code:
lsphp5: /home/username/public_html/folder/index.php
Not all of lsphp5 pid bring the output like that above, but this is seriously help much :)
 
#29
Still working on it.

The Release Candidates have been working fine for us so far so we are in no hurry to see the final 4.1. I'd rather have you finish it without bugs and being complete than introduce a product that could set us back some. ;) However, you should keep your customers informed on status updates even if you don't have a time line set just so they know you are still hard at work! Thanks for taking the time to create a great product.
 
#31
freebsd version has problem with libpthread.so

i have fbsd 7 when i try use libpthread.so from that system it wont works (in 4.0 it wasn't needed)
(after adding alias in libmap.conf

root@core2:~/lsws-4.1RC2# cat /etc/libmap.conf
libcrypt.so.3 libcrypt.so.4
libm.so.4 libm.so.5
libc.so.6 libc.so.7
libpthread.so.2 libpthread.so

(other libs works ok becous they are used in litespeed 4.0)

/libexec/ld-elf.so.1: /usr/lib/libpthread.so: version LIBTHREAD_1_0 required by bin/lshttpd not found



When i install freebsd6 librares it still don't works
/libexec/ld-elf.so.1: /usr/local/lib/compat/libpthread.so.2: Undefined symbol "__malloc_lock"


Maby it is time to litespeed for 7.0 fbsd? there is arledy freebsd 8.0
 
#36
hight cpu usage.

I'm testing new ls 4.1rc2 and wondering why there is big cpu usage:

Code:
  PID USERNAME PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
47764 www      105    0 18764K 12428K CPU1    1   0:00 40.48% lshttpd.4.1RC2
47764 www       20    0 18764K 12428K kserel  1   0:00 37.79% lshttpd.4.1RC2
47764 www       20    0 18764K 12428K kserel  0   0:00 28.86% lshttpd.4.1RC2
47764 www        4    0 18764K 12428K CPU0    2   0:00 27.88% lshttpd.4.1RC2
47764 www        4    0 18764K 12428K CPU2    0   0:00 27.88% lshttpd.4.1RC2
(this is THREAD view mode).

I have only 50 req/s
 
Last edited:
Top