Skip to content

Instantly share code, notes, and snippets.

@rey
Created June 10, 2020 13:33
Show Gist options
  • Save rey/97357ee861dc8b10dccdf00fb0ea6654 to your computer and use it in GitHub Desktop.
Save rey/97357ee861dc8b10dccdf00fb0ea6654 to your computer and use it in GitHub Desktop.
> Can't locate plugins/Markdown.pl in @INC (@INC contains: ./extlib ./lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at lib/MT.pm line 117.
@rey
Copy link
Author

rey commented Jun 10, 2020

mt-check.cgi without suexec

Current working directory: /var/www/cgi-bin/mt
MT home directory: /var/www/cgi-bin/mt/
Operating system: linux
Perl version: 118.53.46.50.54.46.49
Perl include path: /var/www/cgi-bin/mt/extlib
/var/www/cgi-bin/mt/lib
/etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.26.1
/usr/local/share/perl/5.26.1
/usr/lib/x86_64-linux-gnu/perl5/5.26
/usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.26
/usr/share/perl/5.26
/usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base
Web server: Apache/2.4.29 (Ubuntu)

mt-check.cgi with suexec

Current working directory: /var/www/cgi-bin/mt
MT home directory: ./
Operating system: linux
Perl version: 118.53.46.50.54.46.49
Perl include path: extlib
lib
/etc/perl
/usr/local/lib/x86_64-linux-gnu/perl/5.26.1
/usr/local/share/perl/5.26.1
/usr/lib/x86_64-linux-gnu/perl5/5.26
/usr/share/perl5
/usr/lib/x86_64-linux-gnu/perl/5.26
/usr/share/perl/5.26
/usr/local/lib/site_perl
/usr/lib/x86_64-linux-gnu/perl-base
Web server: Apache/2.4.29 (Ubuntu)
(Probably) Running under cgiwrap or suexec

Something is up with the lib and extlib paths 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment