I give you two examples one for my pa + is and one for yours and see how it is used
With the following you avoid complex configurations that may be unnecessary
Make sure that the order of declaration of sentences follows the examples I show you
<?php
date_default_timezone_set('America/Mexico_City');
echo date("H:i:s");
Now for yours in Venezuela and both works perfect
<?php
date_default_timezone_set('America/Caracas');
echo date("H:i:s");
With the default_timezone_set () function you only need to pass the place as a text string and this will work