• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

can't start a cgi script.

H.W.B

Regular Pleskian
Hello,
I changed for a server with plesk 11.5 to plesk 12.5
Since then i can't start a cgi file.
I got an error 500.
In the error log of the domain i got the following error :
[cgid:error] [pid 26251:tid 140719033415424] [client 150.70.188.165:54854] End of script output before headers: backupsmanager.cgi
In the error log of httpd :
Can't locate CGI.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at backupsmanager.cgi line 946.
BEGIN failed--compilation aborted at backupsmanager.cgi line 946.
On the line 946 there is the following :
use CGI;

This script was working on the server with 11.5 but now i can't get it function.

Can anybody tell me how to get it working

Thank you

Henk
 
Make sure that you have installed perl-CGI package. For example, on my test Plesk 12.5 server I see:

[root@ppu12-5 ~]# rpm -ql perl-CGI | grep CGI.pm
/usr/share/perl5/CGI.pm

So, install it with

# yum install perl-CGI
 
Back
Top