We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now


problem with perl-script and apache-server

tjahn asked
Medium Priority
Last Modified: 2010-03-04
I want to run a simple perl-script on my isp's server. But whenever I call some sample scripts (included with the win32 package), it just doesn't seem to work.

Anybody out there, who can help me?
Watch Question

Have you remembered to change the permissions to 755 so that the Perl script is executable.



Other things to look out for are:

1) Have you got the correct path to Perl on your ISPs server as your first line.  Should read something like:




or even


2) Does the script require anything from Perl 5.003 and your ISP has only Perl 5.001.

If your ISP has a way to debug scripts then this might provide some useful info.  Try running the script directly from the command line.  Telnet in and in the directory where the script is type:

perl yourscript.pl



The problem is, that I do not actually have telnet-access. Is there another way to change the file attributes? My own machine runs with NT.

You can ftp into your space and then (with an FTP program like WS_FTP you can right-click on the file when it is on the server and select chmod from the menu that pops up.  Then check all the boxes (chmod 777, same effect as 755, if you want 755 then 1st column all boxes and 2nd/3rd colum it is top and bottom boxes) and click OK.


Unlock this solution and get a sample of our free trial.
(No credit card required)


Unfortunately my ISP does not support PERL-scripts for security reasons.

But beside that, thank you very much!
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.