I'm trying to install BugZilla on our server. The issue is that perl scripts of BugZilla define the path as /usr/bin/perl
, and my perl installation is located at /usr/local/bin/perl
.
I've had this issue while installing other applications as well, i had to manually edit the interpreter paths.
How do you handle situations like these?
EDIT: I just noticed we've got two copies of perl on the server, one in the standard location, on in /usr/local/bin/perl, but which perl
returns the former path.
Btw, here's the error I get when I run bugzilla's perl script
bash: ./checksetup.pl: /usr/bin/perl: bad interpreter: Permission denied
#!/usr/bin/perl
then it's not a Bash script.