On 10/29/19 6:37 PM, Carl Fink wrote:

OK, just for fun I explicitly visited
http://finknetwork.com/tt-rss/index.php

... rather than rely on the DirectoryIndex configuration parameters. And the result is *weird*:

Fatal Error: You forgot to copy *config.php-dist* to *config.php* and edit it.\n"; exit; } // we need a separate check here because functions.php might get parsed // incorrectly before 5.3 because of :: syntax. if (version_compare(PHP_VERSION, '5.6.0', '<')) { print "*Fatal Error*: PHP version 5.6.0 or newer required. You're using " . PHP_VERSION . ".\n"; exit; } set_include_path(dirname(__FILE__) ."/include" . PATH_SEPARATOR . get_include_path()); require_once "autoload.php"; require_once "sessions.php"; require_once "functions.php"; require_once "sanity_check.php"; require_once "version.php"; require_once "config.php"; require_once "db-prefs.php"; if (!init_plugins()) return; login_sequence(); header('Content-Type: text/html; charset=utf-8'); ?>

get_hooks(PluginHost::HOOK_MAIN_TOOLBAR_BUTTON) as $p) { echo $p->hook_main_toolbar_button(); } ?>

get_hooks(PluginHost::HOOK_TOOLBAR_BUTTON) as $p) { echo $p->hook_toolbar_button(); } ?>
/menu/

????

And solved.

In /etc/apache2/sites-available/finknetwork.com.conf was the directive:

php_admin_value engine Off

Turning that on re-activated PHP.

I have zero idea why it was off, but wow, that was a lot of effort to fix.

Thanks to everyone who read and especially everyone who tried to help.

--
Carl Fink                           nitpick...@nitpicking.com

Read my blog at blog.nitpicking.com.  Reviews!  Observations!

Reply via email to