I did what romanos3141 was telling in his reply. I have also analyzed the files below:
httpd-ssl.conf
httpd-vhosts.conf
httpd.conf
in httpd-vhosts.conf I changed it to my local IP and virtual hosts worked and I can see my security certificate is valid. Just play with those files and restart your server every time you try something.
I changed these <VirtualHost 192.168.1.162:80>
<Directory "/Applications/AMPPS/www/ from 127.0.0.1 to my local ip. You might up come up with different solutions till they sort this out.
Its so weird also this new Ampps works php versions 5.6 and 7.3 although I have forced the paths and edited the data file nothing worked for other pho versions. for now I can do what I want but its not a real solution.