Fatal error: Uncaught Error: Call to undefined function mysql_connect() in /var/www/html/web2018/wp-includes/wp-db.php:1645
Stack trace:
#0 /var/www/html/web2018/wp-includes/wp-db.php(639): wpdb->db_connect()
#1 /var/www/html/web2018/wp-includes/load.php(435): wpdb->__construct('web2018', 'Web2018com', 'web2018', 'mysql')
#2 /var/www/html/web2018/wp-settings.php(109): require_wp_db()
#3 /var/www/html/web2018/wp-config.php(52): require_once('/var/www/html/w...')
#4 /var/www/html/web2018/wp-load.php(37): require_once('/var/www/html/w...')
#5 /var/www/html/web2018/wp-blog-header.php(13): require_once('/var/www/html/w...')
#6 /var/www/html/web2018/index.php(17): require('/var/www/html/w...')
#7 {main}
thrown in /var/www/html/web2018/wp-includes/wp-db.php on line 1645