Zenphoto Error

MySQL Error: The PHP MySQL extentions have not been installed. Please ask your administrator to add MySQL support to your PHP installation.

Fatal error: Uncaught Error: Undefined constant "DEBUG" in /home/sardi072/public_html/bike/zp-core/functions.php:617 Stack trace: #0 /home/sardi072/public_html/bike/zp-core/functions-db.php(28): zp_error('MySQL Error: Th...') #1 /home/sardi072/public_html/bike/zp-core/functions-db.php(69): db_connect() #2 /home/sardi072/public_html/bike/zp-core/functions-db.php(116): query('SELECT `name`, ...', true) #3 /home/sardi072/public_html/bike/zp-core/functions.php(78): query_full_array('SELECT `name`, ...', true) #4 /home/sardi072/public_html/bike/zp-core/functions.php(36): getOption('server_protocol') #5 /home/sardi072/public_html/bike/zp-core/functions-db.php(5): require_once('/home/sardi072/...') #6 /home/sardi072/public_html/bike/zp-core/auth_zp.php(3): require_once('/home/sardi072/...') #7 /home/sardi072/public_html/bike/zp-core/classes.php(6): require_once('/home/sardi072/...') #8 /home/sardi072/public_html/bike/zp-core/template-functions.php(10): require_once('/home/sardi072/...') #9 /home/sardi072/public_html/bike/index.php(7): require_once('/home/sardi072/...') #10 {main} thrown in /home/sardi072/public_html/bike/zp-core/functions.php on line 617