Link to home
Start Free TrialLog in
Avatar of petschki
petschki

asked on

configuring perl interpreter on apache server

hello!

i'm developing websites using perl 5.6.1 on our linux apache server 1.3.20.
unfortunately in every perl script i have to add an option (-T or -w or even -(alone)) to perl in the shebang line #!/usr/bin/perl

can anyone tell me how i can configure my perl interpreter or my apache server to avoid this, because it makes the interpreter much slower than without any option.

thanks to all the experts out there!
petschki
Avatar of linxit
linxit

When you say you HAVE to add an option, what do you mean?

What error message is returned when you don't add the option to the shebang line?

Andy
Avatar of petschki

ASKER

there's a "500 internal server error" an the error_log file says, that the interpreter is not found on the server...
ASKER CERTIFIED SOLUTION
Avatar of linxit
linxit

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
thanks a lot...
but one question: do you know an editor on windows, which makes the (unix)correct linebreaks?
i'm using macromedia homesite 5.0 and didn't find a possibility

peter
You should be able to set it in Homesite. Try this:

Choose Options > Settings from the menu bar.
Select "File Settings"
Under the "Format when saving" option, select "Unix."

Andy