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

Go Back   LiteSpeed Support Forums > External Applications > PHP > PHP Compilation

Reply
 
Thread Tools Display Modes
  #1  
Old 03-03-2008, 07:07 PM
HRDev HRDev is offline
New Member
 
Join Date: Mar 2008
Posts: 2
Default PHP Compilation

Hello,
I'm having problems using the 'Compile PHP' function in the Administration Panel. I get the following error:

ERROR Could not retrieve PHP source archive
/opt/lsws/phpbuild/phpbuild.1204599987.9.sh: line 16: -L: command not found
How can I fix this?
Thanks,
HRDev
Reply With Quote
  #2  
Old 03-03-2008, 07:44 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
install WGET or CURL, make them available to "nobody" user, at least temporarily.

chmod 0755 /usr/bin/wget

after finish building

chmod 0700 /usr/bin/wget

same thing for gcc.
Reply With Quote
  #3  
Old 03-03-2008, 07:46 PM
HRDev HRDev is offline
New Member
 
Join Date: Mar 2008
Posts: 2
It's still not working. The install path prefix is /opt/lsws/lsphp5 but that doesn't exist?
Thanks
HRDev
Reply With Quote
  #4  
Old 03-04-2008, 10:19 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
Quote:
Originally Posted by HRDev View Post
It's still not working. The install path prefix is /opt/lsws/lsphp5 but that doesn't exist?
Thanks
HRDev
That directory will be created if the build is successful.
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 05:03 AM.



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