I am trying to run a script that is more intensive and long waiting so want to be able to make it real time, but for some reason is not working. Script is located live here: https://newskillsacademy.co.uk/info.php and the PHP info here https://newskillsacademy.co.uk/info.php?info. What am I doing rong. Tested all kinds of real-time rendering scripts and they are not working on this server but on my localhost is ok. Same PHP version.
<?php
for ($i = 1; $i <= 10; $i++)
{
echo '<p>' . $i . '</p>';
flush();
sleep(1);
}
?>