PHP Compilation

HRDev

New Member
#1
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
 

mistwang

LiteSpeed Staff
#2
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.
 
Top