I'm working on a server that I do not have physical access to (ssh in from my location). It is an older 32bit computer (thus my love for Gentoo grows).
I installed Wordpress (It's my go-to for my friends that want to run their own servers out of their homes).
Gentoo and me haven't played with each other in quite some time, but I don't remember it being this difficult to get LAMP up and running.
I've got MySql working (Nextcloud is working), Apache2 seems to be fine, but PHP doesn't seem to be talking to Apache or visa-versa.
I followed the LAMP wiki and it all seemed fine, but when I head to her site, it just tells me "There's been a critical error" with no other information to chase down.
When I check: php -v it gives me PHP 7.4.21 (cli).
apache2ctl -M shows: php7_module (shared)
What am I missing? My vhost file seems to be fine (very similar to the ones I use for my sites at home (Ubuntu Server 21.04).
I looked in /var/log/apache for the error logs, and it looks like Wordpress is looking for PHP but it's not doing what it is asking (I don't understand it all, and I can paste it in here, but there's quite a bit).
Here is the tail results (there's more, this is the first part):
Code: Select all
Thu Aug 12 16:00:37.309417 2021] [php7:error] [pid 3236] [client 114.119.134.35:8996] PHP Fatal error: require(): Failed opening required 'ABSPATHWPINC/sodium_compat/autoload.php' (include_path='.:/usr/share/php7:/usr/share/php') in /var/www/www.watchingskycandy.com/wordpress/wp-includes/compat.php on line 333Code: Select all
// sodium_crypto_box() was introduced in PHP 7.2.
if ( ! function_exists( 'sodium_crypto_box' ) ) {
require ABSPATH . WPINC . '/sodium_compat/autoload.php';
}Thank you


