PHP run 5.3 and 5.4 Sock File? How To Create?

Discussion in 'PHP' started by kjavitz, Mar 31, 2013.

  1. kjavitz

    kjavitz New Member

    Hi,

    how do I correctly create the sock file?

    I am using ln and ln -s and neither seems to make the correct type of sock file. For example I used:

    ln -s /usr/local/lsws/fcgi-bin/lsphp-5.4.13 /tmp/lshttpd/lsphp54.sock

    The ones that litespeed makes look different in my ssh client so I know the one I'm making is not right. Mine looks like:

    lsphp54.sock@

    while the one created by litespeed looks like:

    lsphp5.sock=

    Also when I add the handler in .htaccess to try using the 5.4 one (the one I created) it doesn't work says [201.194.148.230:11630-2#APVH_happysheep.rent-manager.com] MIME type [application/x-httpd-php54] for suffix '.php' does not allow serving as static file, access denied!

    I know that the server is setup ok and script file, it's the sock file.

Share This Page