Dietpi v8.22 LEMP Web Stack - phpinfo.php, apc.php, opcache.php missing

Creating a bug report/issue

Required Information

  • DietPi version | G_DIETPI_VERSION_CORE=8 G_DIETPI_VERSION_SUB=22 G_DIETPI_VERSION_RC=3 G_GITBRANCH=‘master’ G_GITOWNER=‘MichaIng’
  • Distro version | bookworm
  • Kernel version | Linux DietPi 5.10.160-legacy-rk35xx #1 SMP Mon Aug 28 01:21:24 UTC 2023 aarch64 GNU/Linux
  • Architecture | arm64
  • SBC model | Orange Pi 5 Plus (aarch64)
  • Power supply used | 5V 4A
  • SD card used | SanDisk

Additional Information (if applicable)

  • Software title | 79 LEMP: Nginx + MariaDB + PHP
  • Was the software title installed freshly or updated/migrated?
    Installed after initial build and after docker/portainer was installed
  • Can this issue be replicated on a fresh installation of DietPi?
    Unsure
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

  1. Install dietpi, do basic install steps, install docker/portainer
  2. Install 79 LEMP: Nginx + MariaDB + PHP (also installed certbot and switched from dropbear to OpenSSH at same time of installing)

Expected behaviour

Actual behaviour

  • only http://<your.IP> (or /var/www/index.nginx-debian.html) exists
    commands return no results:
    find / -name phpinfo.php
    find / -name apc.php
    find / -name opcache.php

Extra details

  • able to create own phpinfo.php by adding /var/www/phpinfo.php with
<?php phpinfo(); ?>
  • Unsure how to create apc and opcache files.

It was removed with patch, look on github. Looks like docs is not updated :frowning:

1 Like

I guess @MichaIng could give some more insight

Thank you @pulpe, I’ll know where to look for some issues next time.

Just encountered that discrepancy between docs and install and wanted to report issue, phpinfo (when added yourself) reports APCu Support and Zend OPcache.

Thank you @Joulinar - I’ll know to look at GITOWNER as possible contact for bigger issues in the future.

Found that site is used in GitHub Pages with the same owner - GitHub - MichaIng/DietPi-Website: Repository for the DietPi OS website - reported issue there.

I transferred the issue to our docs repository