Change PHP Socket Location

Karl

Active Member
#1
Hi,

We're seeing problems with "no data sent" because of lsphp segfaults. We want to rule out this being an issue of /tmp getting full briefly and stopping new sockets being created for the virtual hosts.

We want to move where the lsphp sockets are created. This doesn't seem possible. We've set the Address for the lsphp5 external app to the new location, which means it creates the lsphp5.sock there - but the sockets for all the APVH_* get created in /tmp/lshttpd/ still.

Now I could do something really dirty and symlink /tmp/lshttpd to the new location - but I really don't want to do that.

Thanks,
 

mistwang

LiteSpeed Staff
#2
The segfault might be due to a bug temporarily introduced into php-litespeed-6.3 package. just remove
/home/cpeasyapache/ls.src/php-litespeed-6.3.tgz

then build matching PHP again, it should take care of it.

Next release we will move APVH_* socket address to something like /dev/shm/lshttpd .
 
Top