Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #16298

Re: PHP in a local environment

From "Christoph M. Becker" <cmbecker69@arcor.de>
Newsgroups comp.lang.php
Subject Re: PHP in a local environment
Date 2016-01-17 16:36 +0100
Organization solani.org
Message-ID <n7gcdm$65n$1@solani.org> (permalink)
References (6 earlier) <150120161122102384%timstreater@greenbee.net> <n7b4gq$ltt$1@dont-email.me> <150120161740399745%timstreater@greenbee.net> <n7bbi9$h76$1@solani.org> <150120162041159631%timstreater@greenbee.net>

Show all headers | View raw


On 15.01.2016 at 21:41 Tim Streater wrote:

> In article <n7bbi9$h76$1@solani.org>, Christoph M. Becker
> <cmbecker69@arcor.de> wrote:
> 
>> Have you tried to use PHP's built-in webserver instead of Apache?  That
>> might improve overall performance.  And of course enabling OPcache may
>> also be very useful.
> 
> I looked into that briefly, but can it manage to service a number of
> asynchronous requests? 

The built-in webserver is single-threaded, so it is not possible to do
"nested" requests to the same server (e.g. from a PHP script), but there
shouldn't be any problems with asynchronous client-side requests.

> And can it have a config file so I can
> initialise PHP with a timezone? 

Yes, php.ini is loaded as usual.

-- 
Christoph M. Becker

Back to comp.lang.php | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-13 15:54 -0700
  Re: how to set default timezone as a .config argument? Arno Welzel <usenet@arnowelzel.de> - 2016-01-14 00:18 +0100
    Re: how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-14 00:13 -0700
      Re: how to set default timezone as a .config argument? Arno Welzel <usenet@arnowelzel.de> - 2016-01-14 08:45 +0100
        Re: how to set default timezone as a .config argument? Arno Welzel <usenet@arnowelzel.de> - 2016-01-14 08:49 +0100
          Re: how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-14 10:19 -0700
            Re: how to set default timezone as a .config argument? Arno Welzel <usenet@arnowelzel.de> - 2016-01-14 20:09 +0100
            Re: how to set default timezone as a .config argument? Tim Streater <timstreater@greenbee.net> - 2016-01-15 11:22 +0000
              Re: how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-15 08:53 -0700
                Re: how to set default timezone as a .config argument? Tim Streater <timstreater@greenbee.net> - 2016-01-15 17:40 +0000
                PHP in a local environment (was: how to set default timezone as a .config argument?) "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-01-15 18:51 +0100
                Re: PHP in a local environment (was: how to set default timezone as a .config argument?) crankypuss <invalid@invalid.invalid> - 2016-01-15 11:00 -0700
                Re: PHP in a local environment (was: how to set default timezone as a .config argument?) Tim Streater <timstreater@greenbee.net> - 2016-01-15 20:41 +0000
                Re: PHP in a local environment "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-01-17 16:36 +0100
                Re: PHP in a local environment Tim Streater <timstreater@greenbee.net> - 2016-01-17 15:54 +0000
                Re: how to set default timezone as a .config argument? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-01-16 01:21 +0000
                Re: how to set default timezone as a .config argument? Michael Vilain <vilain@NOspamcop.net> - 2016-01-15 18:25 -0800
                Re: how to set default timezone as a .config argument? Tim Streater <timstreater@greenbee.net> - 2016-01-16 08:25 +0000
                Re: how to set default timezone as a .config argument? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2016-01-16 11:55 +0000
      Re: how to set default timezone as a .config argument? "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-01-14 11:57 +0100
        Re: how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-14 10:29 -0700
          Re: how to set default timezone as a .config argument? "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-01-15 12:14 +0100
            Re: how to set default timezone as a .config argument? crankypuss <invalid@invalid.invalid> - 2016-01-15 08:57 -0700

csiph-web