apt-get install -y perl
If you are using windows for normal scripts you can go with XAMPP server. if you are working on Linux go through apache