Site icon Hip-Hop Website Design and Development

PHP Fatal error: Uncaught Error: Call to undefined function wp_kses_normalize_entities() in new wordpress installation

I’m trying to install WordPress 5.3.2 on NetBSD (unix). phpinfo() tells me I am running Apache/2.4.33 (Unix) PHP/7.2.6

/wp-admin/setup-config.php?step=1 has a message at the bottom of the window (below the “submit” button) saying “There has been a critical error on your website”.

Thinking to set WP_DEBUG to “true” in the hope of getting an error message, I manually configured wp-config.php, but on install.php I get a blank screen.

The server log says “Call to undefined function wp_kses_normalize_entities()”.

I’ve tried using /wp-admin/setup-config.php to configure php-config.php as well, and looking up the server log I see other errors: “Call to undefined function mysql_connect()” (from wp-includes/wp-db.php) and “Call to undefined function json_encode()” from wp-includes/functions.php:3820

As this is at the installation stage, so the only thing I have altered is wp-config.php (each time editing from the default file).I’ve not got as far as a WordPress dashboard, so there are no plugins to disable. What do I do?