[docker] error_log() not write inside web page

SupaPlex <[email protected]>
Newsgroups comp.lang.php
Organization Aioe.org NNTP Server
Message-ID <[email protected]>
supaplex$ cat docker-compose.yml
services:
     web:
         image: php:apache
         ports:
             - 8013:80
         volumes:
             - .:/var/www/html

supaplex$ cat index.php
<?php
echo "BEFORE\n";
error_log("abc");
echo "AFTER\n";

supaplex$ docker-compose up -d
supaplex_web_1 is up-to-date

$ docker-compose run web php index.php
Creating supaplex_web_run ... done
BEFORE
abc
AFTER

OK, but...

supaplex$ curl http://localhost:8013/
BEFORE
AFTER

Why *abc* does not appear?
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.