Call to undefined function mysql_connect()


Fatal error: Uncaught Error: Call to undefined function mysql_real_escape_string() in /var/www/web187/html/elgg/engine/lib/database.php:714 Stack trace: #0 /var/www/web187/html/elgg/engine/lib/configuration.php(455): sanitise_string('debug') #1 /var/www/web187/html/elgg/engine/lib/configuration.php(101): get_config('debug', 0) #2 /var/www/web187/html/elgg/views/failsafe/messages/exceptions/exception.php(26): elgg_get_config('debug') #3 /var/www/web187/html/elgg/engine/lib/views.php(503): include('/var/www/web187...') #4 /var/www/web187/html/elgg/engine/lib/elgglib.php(1014): elgg_view('messages/except...', Array) #5 [internal function]: _elgg_php_exception_handler(Object(Error)) #6 {main} thrown in /var/www/web187/html/elgg/engine/lib/database.php on line 714