1 Instances

Discussion in 'PHP' started by art182, Jun 10, 2007.

  1. art182

    art182 New Member

    hello.
    I set up php lsapi - 1 instances
    PHP_LSAPI_CHILDREN=20

    + restart lsws ..

    and I have 5 or more lsphp process

    this is correct ? ( I think should be 1 process )
  2. mistwang

    mistwang LiteSpeed Staff

    That's normal. LSWS start one instance of PHP, and that process can fork up to 20 children PHP process to handle 20 PHP requests at the same time.
  3. art182

    art182 New Member

    ok. thanks..

    I have one more question :

    which way to run php is better for 'weak' server ?
    ( P3 1 ghz , 512 ram , slooow disk )

    Server Managed Mode or Self Managed Mode ?
    Is there any difference for cpu usage/performance ?


    * sorry for my english ...
  4. mistwang

    mistwang LiteSpeed Staff

    Self managed mode is perfered as all PHP processes can share their opcode cache.
    CPU usage and performance wise, there is no big difference.

Share This Page