Hi, I have an existing site that I have been trying to install on my server, it is Magento 2.2.3 running on php 7.1. The error I'm going to post below has a few things wrong with it but when I enable the cache the site throws a HTTP 500 Error. It is a session handler problem I believe but I don't know how to fix it. The site is unimportant beceause I have the cache turned off and it loads fine, www.petermatratestsite.com. Here is the error log. Some php modules are missing you will see. Those are 3rd party modules calling them.
Thanks
Peter
[04-May-2021 21:48:39 UTC] PHP Warning: Uncaught Exception: Warning: SessionHandler::open(): Cannot call session save handler in a recursive manner in /home2/petermatratest/public_html/vendor/magento/framework/Session/SaveHandler.php on line 59 in /home2/petermatratest/public_html/vendor/magento/framework/App/ErrorHandler.php:61
Stack trace:
#0 [internal function]: Magento\Framework\App\ErrorHandler->handler(2, 'SessionHandler:...', '/home2/petermat...', 59, Array)
#1 /home2/petermatratest/public_html/vendor/magento/framework/Session/SaveHandler.php(59): SessionHandler->open('/opt/alt/php71/...', 'PHPSESSID')
#2 [internal function]: Magento\Framework\Session\SaveHandler->open('/opt/alt/php71/...', 'PHPSESSID')
#3 /home2/petermatratest/public_html/vendor/magento/framework/Session/SessionManager.php(206): session_start()
#4 /home2/petermatratest/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\Session\SessionManager->start()
#5 /home2/petermatratest/public_html/vendor/magento/framework/Interception/Interceptor. in /home2/petermatratest/public_html/vendor/magento/framework/App/ErrorHandler.php on line 61
[04-May-2021 21:48:39 UTC] PHP Fatal error: session_start(): Failed to initialize storage module: user (path: /opt/alt/php71/var/lib/php/session) in /home2/petermatratest/public_html/vendor/magento/framework/Session/SessionManager.php on line 206
[04-May-2021 21:49:01 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/alt/php71/usr/lib64/php/modules/oci8.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
[04-May-2021 21:49:01 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/alt/php71/usr/lib64/php/modules/pdo_oci.so' - libclntsh.so.12.1: cannot open shared object file: No such file or directory in Unknown on line 0
[04-May-2021 21:49:01 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/opt/alt/php71/usr/lib64/php/modules/tideways.so' - /opt/alt/php71/usr/lib64/php/modules/tideways.so: cannot open shared object file: No such file or directory in Unknown on line 0