Installer on centos-8 stuck at composer

I have a server running centOS 8

When I run the shell script .sh

i executes but stops at INSTALLING composer and exits with no warning.

The install log also doesn’t give me much either.
Any pointers would be highly appreciated.

//Br
Koitalel