ubuntu 18.04 – nginx home page wont load

after installing Nginx, it installed without error but when i tried to check it out with http://localhost i received this error message

setStart($startTime, $startMem)->mark(‘afterLoad’) : null; // Instantiate the application. $app = JFactory::getApplication(‘site’); // Execute the application. $app->execute();

i have even tried using my serverIP, got same error Please i need help…. need to installl joomla as a school project