Re: PHP vs Apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 11 Jul 2022 21:26:24 +0200
"Christoph M. Becker" <cmbecker69@xxxxxx> wrote:

> From the docs[1]:
> 
> | The web server runs only one single-threaded process, so PHP
> | applications will stall if a request is blocked.
> 
> I assume that this is the problem.  If it is, you can work around:
> 
> | You can configure the built-in webserver to fork multiple workers in
> | order to test code that requires multiple concurrent requests to the
> | built-in webserver. Set the PHP_CLI_SERVER_WORKERS environment
> | variable to the number of desired workers before starting the
> server. | This is not supported on Windows.
> 
> [1] <https://www.php.net/manual/en/features.commandline.webserver.php>

You are a gentleman and a scholar. Your advice solved the problem. I
appreciate the assist. My original choice (file_get_contents()) worked
as advertised.

Paul

-- 
Paul M. Foster
Personal Blog: http://noferblatz.com
Company Site: http://quillandmouse.com
Software Projects: https://gitlab.com/paulmfoster



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux