LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > PHP run 5.3 and 5.4 Sock File? How To Create?

Reply
 
Thread Tools Display Modes
  #1  
Old 03-31-2013, 07:28 AM
kjavitz kjavitz is offline
New Member
 
Join Date: Mar 2013
Posts: 3
Question PHP run 5.3 and 5.4 Sock File? How To Create?

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:22 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.