Deploying Craft on Apache Server - Error code 255
That error was due to the php version not being specified when I had executed the command. I've tried running it with the specified path to the current php version and it seemed to work.