mysql 8 support
Using Jamroom
Thank you, Brian! I figured out that my db installation was broken due to major database update. I've downgraded, made a dump then restored dump to fresh database. Voila, jamroom is alive again.
PHP Fatal error: Uncaught Error: mysqli object is not fully initialized in /www/genosis/modules/jrCore-release-7.0.0/lib/mysql.php:378
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
tcp_nopush on;
keepalive_timeout 65;
gzip on;
server {
server_name server.org;
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";
add_header X-Frame-Options SAMEORIGIN;
add_header X-Xss-Protection "1; mode=block" always;
add_header X-Content-Type-Options "nosniff" always;
client_max_body_size 100m;
# Access and Error Logs
access_log /var/log/nginx/nginx.access.log;
error_log /var/log/nginx/nginx.error.log;
# Root Directory
root /usr/local/www/genosis/;
location ~ (?:^|/)\. {
deny all;
}
location ~* \.(js|css|png|jpg|jpeg|gif|ico|swf)$ {
expires 24h;
log_not_found off;
}
location @rewrite {
rewrite ^(.*)$ /modules/jrCore/router.php?_uri=$1 last;
}
location / {
index index.html index.php sitemap.xml /modules/jrCore/router.php;
try_files $uri $uri/ @rewrite;
}
location ~ \.php$ {
#NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
}
[global]
pid = run/php-fpm.pid
[www]
user = www
group = www
listen = /var/run/php-fpm.sock
listen.owner = www
listen.group = www
listen.mode = 0600
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
php_flag[display_errors] = off
php_admin_value[memory_limit] = 128M