Comment 0 for bug 2016015

Revision history for this message
William Desportes (williamdes) wrote : [SRU] add PHP 8 on Apache2 conf

[ Impact ]

 * The PHP 8 support in Apache2 conf will allow users to have a correct PHP `include_path`
   and prevent issues like (https://github.com/phpmyadmin/phpmyadmin/issues/18299).
   This fix is already upstream Debian and released.

[ Test Plan ]

 * To reproduce the `include_path` bug
   - install phpmyadmin and `libapache2-mod-php`
   - browse http://localhost/phpmyadmin
   - See the working UI
   - set `php_admin_value open_basedir .` in an Apache2 conf file
     of your choice in `/etc/apache2/conf-enabled/`.
   - restart Apache2
   - refresh the page, error 500 reported at phpMyAdmin issue #18299
   - add the config block from my patch
   - restart Apache2
   - See the working UI

[ Where problems could occur ]

 * If the Apache2 config was in a wrong syntax the server would not start
   If it did not work, the reproduction steps would not lead to no more 500 error.

[ Other Info ]

See: https://bugs.launchpad.net/ubuntu/+source/phpmyadmin/+bug/2013402