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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > /opt/lsws/phpbuild/phpbuild.1235068196.2.sh: 16: curl: not found

Reply
 
Thread Tools Display Modes
  #1  
Old 02-19-2009, 10:35 AM
EvoIX_MR2006 EvoIX_MR2006 is offline
Member
 
Join Date: Feb 2009
Posts: 29
Default /opt/lsws/phpbuild/phpbuild.1235068196.2.sh: 16: curl: not found

/opt/lsws/phpbuild/phpbuild.1235068196.2.sh: 16: curl: not found


That is the error I receive when attempting to compile PHP 5.2.8. After searching for hours, I can't find a single thing on this issue.

/opt/lsws/phpbuild/ is publicly available -- I've chmod'd the directory to 777 to ensure availability. The file exists, and I am not trying to compile PHP with curl. Any ideas?

Thanks!
Reply With Quote
  #2  
Old 02-19-2009, 12:18 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
Please check if it is a permission problem for "curl", "wget" binary.
Make sure to give execution permission to the user that LiteSpeed run as.
Reply With Quote
  #3  
Old 02-22-2009, 04:08 PM
EvoIX_MR2006 EvoIX_MR2006 is offline
Member
 
Join Date: Feb 2009
Posts: 29
Both had applicable permissions set, but when I restarted the server, for some reason I got past that portion of the install.

Now I am stuff with an error similar to the one above, except it pertains to the Suhosin patch installation. Is this available for 5.2.8? I had thought it was, but cannot seem to get it to work.

Thanks.

Quote:
Originally Posted by mistwang View Post
Please check if it is a permission problem for "curl", "wget" binary.
Make sure to give execution permission to the user that LiteSpeed run as.
Reply With Quote
  #4  
Old 02-22-2009, 07:16 PM
EvoIX_MR2006 EvoIX_MR2006 is offline
Member
 
Join Date: Feb 2009
Posts: 29
After a quick look around, it appears that on creation; LiteSpeed is getting to the point where it has downloaded suhosin and gotten everything working correctly. It fails because permissions on the file are 644.

You would think that you could chmod +x this file to give execute permissions to the owner. Well, litespeed re-creates this file and re-grants 644 permissions every time effectively killing this install.
Reply With Quote
  #5  
Old 02-22-2009, 08:35 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
For downloaded file, permission 644 should be fine. The problem is in Suhosin patch for PHP 5.2.8, the expanded directory is actually for 5.2.7 .
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 12:09 AM.



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