Re: Better development streamlining of the built-in server

From: Date: Tue, 19 Nov 2024 12:59:36 +0000
Subject: Re: Better development streamlining of the built-in server
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-125991@lists.php.net to get a copy of this message
On 19/11/2024 12:52, John D'Orazio wrote:
My point is, would the built-in server ever be used for anything other than local development? If not, then it would be a simple convenience to developers to have an automatic environment variable of "development" when launching the built-in server. Instead of manually creating this environment variable, it would just be there.
As a matter of best practice, an application should not need to know which environment it is running in, let alone be designed specifically to respond to the PHP built-in server. Cheers, Bilge

« previous php.internals (#125991) next »