Sign inSign up

anigkus/php-apache

By anigkus

Updated about 4 years ago

<?php $x = 0.0001; for ($i = 0; $i <= 1000000; $i++) { $x += sqrt($x); } echo "OK!"; ?>

Image
0

50K+

anigkus/php-apache repository overview

~# cat > Dockerfile <<EOF
FROM php:5-apache
COPY index.php /var/www/html/index.php
RUN chmod a+rx index.php
EOF


~# cat > index.php <<'EOF'
<?php
  $x = 0.0001;
  for ($i = 0; $i <= 1000000; $i++) {
    $x += sqrt($x);
  }
  echo "OK!";
?>
EOF

Tag summary

Content type

Image

Digest

Size

123.6 MB

Last updated

about 4 years ago

docker pull anigkus/php-apache