Warning: fopen(test-log.txt): Failed to open stream: Permission denied in /var/www/html/index.php on line 11

Fatal error: Uncaught TypeError: fwrite(): Argument #1 ($stream) must be of type resource, false given in /var/www/html/index.php:12 Stack trace: #0 /var/www/html/index.php(12): fwrite(false, 'FriAMUTCE_AMUTC...') #1 /var/www/html/index.php(17): test_log('Switching to UR...') #2 {main} thrown in /var/www/html/index.php on line 12