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

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

  1. kjavitz

    kjavitz Member


    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:


    while the one created by litespeed looks like:


    Also when I add the handler in .htaccess to try using the 5.4 one (the one I created) it doesn't work says [] 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