I found the posting at Driver = mysqli NOT working (OJS 3.2.1-1) saying that to work with php-fpm 7.x, I needed to edit our OJS config.inc.php file to use the mysqli driver instead of mysql. Making that change eliminated the:
"PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /opt/www/bollerreview.tcu.edu/releases/20161107150258/lib/pkp/lib/adodb/drivers/adodb-mysql.inc.php:456
error I was seeing in our nginx log file when trying to bring up our OJS 3.0.0 site under php-fpm v7.4. However, the site still won’t come up under that php-fpm version. Now the error I see is:
2022/02/21 12:42:07 [error] 26677#26677: *29 FastCGI sent in stderr: "PHP message: PHP Notice: Only variables should be passed by reference in /opt/www/bollerreview.tcu.edu/releases/20161107150258/lib/pkp/classes/core/PKPApplication.inc.php on line 210PHP message: PHP Recoverable fatal error: ini_set(): Cannot set 'user' save handler by ini_set() or session_module_name() in /opt/www/bollerreview.tcu.edu/releases/20161107150258/lib/pkp/classes/session/SessionManager.inc.php on line 36" while reading response header from upstream, client: 138.237.46.31, server: bollerreview.tcu.edu, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/opt/remi/php74/run/php-fpm/php-fpm.sock:", host: "bollerreview.tcu.edu"
If anyone has any advice on how to fix that, please let me know.
Thanks, Kerry