PHP Compilation

Discussion in 'PHP' started by HRDev, Mar 4, 2008.

  1. HRDev

    HRDev New Member

    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/ line 16: -L: command not found
    How can I fix this?
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. HRDev

    HRDev New Member

    It's still not working. The install path prefix is /opt/lsws/lsphp5 but that doesn't exist?
  4. mistwang

    mistwang LiteSpeed Staff

    That directory will be created if the build is successful.

Share This Page