litespeedtech / litespeedtech/openlitespeed

PHP will not work without interruption when PHP_LSAPI_CHILDREN is not set

Open
#412 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
1.5k
Forks
233
Avg merge
2d 19h
Merged PRs (30d)
5

Description

According to [this document](https://docs.litespeedtech.com/lsws/cp/cpanel/long-run-script/), I configured everything on the development server (ubuntu) and the production server (linux).

But the production server was working properly and the development server was not.
Finally I found a small configuration difference between the two servers.
I had not set `PHP_LSAPI_CHILDREN` on the development server.
After setting `PHP_LSAPI_CHILDREN`, everything worked.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the linked long-run script documentation and review how PHP_LSAPI_CHILDREN is described for development and production servers. Confirm whether the reported interruption is expected when the variable is unset; done should include a documented or verified configuration requirement.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.