Script Stops working

I am tryin to install a php custom installation, but when running the script found in the wiki it stops and return to $montecarlo: in shell

FOr examlpe i run the .sh file as indicated in the wiki, but sometimes it runs until line 100, and then stops, if i run it again it runs until line 255 and stops, so i can finish running the script for php custom installation.

Is a connection problem or what?

I have checked the script and everything is ok with it… my only problem seems to be the connection with the server.

Thanks in advance!