Understanding Admin -> Actions -> Compile PHP

Discussion in 'PHP' started by eva2000, Jan 19, 2011.

  1. eva2000

    eva2000 Member

    First time installing litespeed from scratch on local virtualised CentOS 5.5 64bit server and trying to understand the options presented in litespeed admin -> actions -> compile PHP section

    default 5.3.4 looks like the below screenshot

    - what is the 'Extra PATH environment' field for ?

    [​IMG]

    Now I am eventually trying to replicate as much the environment that a WHM/Litespeed install has using the apache conf but my local server only has apache 2.2.3 and php 5.3.5 installed prior to installing litespeed 4.0.18.

    so this is my current apache 2.2.3 and PHP 5.3.5 configuration options (also have compiled memcache 2.2.5 with memcached 1.4.5 server)

    so would it be correct to just put the following into configure parameters box ?

    i tried this and after running command

    /usr/local/lsws/phpbuild/buildphp_manual_run.sh

    nothing is happening in litespeed admin monitoring/status build for php ?

    all I see is this

    [​IMG]

    and all that is shown in ssh telnet is

    But phpinfo.php reports PHP 5.3.4 has been installed ?

    I want to be able to switch between apache and litespeed for testing.
    Last edited: Jan 19, 2011
  2. eva2000

    eva2000 Member

    Looks like PHP 5.3.4 was built okay just nothing happened on step 4 on build page in admin area for litespeed ?

    PHP 5.3.5 with apache (on left)
    vs
    LSAPI PHP 5.3.4 with litespeed (on right)

    [​IMG]
  3. webizen

    webizen New Member

    EXTRA_PATH environment is for the path that holds programs like curl, fetch or wget in case they are in unusual places.

    Regarding nothing shown in admin console, please do below and see if anything in there.
  4. mistwang

    mistwang LiteSpeed Staff

    Maybe root user has umask 077, the web console cannot read buildphp_1295439762.1.lo.
  5. eva2000

    eva2000 Member

    i get following

  6. webizen

    webizen New Member

    what browser and version were you using?
  7. eva2000

    eva2000 Member

    using firefox 3.6.13

    but strange updated to 4.0.19 and php 5.3.5 builds and shows status/progress fine :)

    [​IMG]
    Last edited: Jan 21, 2011

Share This Page