Change PHP Socket Location

Discussion in 'General' started by Karl, Aug 27, 2013.

  1. Karl

    Karl Active Member


    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.

  2. mistwang

    mistwang LiteSpeed Staff

    The segfault might be due to a bug temporarily introduced into php-litespeed-6.3 package. just remove

    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 .

Share This Page