Hi,
You could try adding this in add.cgi, after the #!/path/to/perl ... so:
Another option is to create a test script to see what environment variables are set (paths to the "libs" for example);
test.cgi
use Data::Dumper;
print "Content-Type:text/html\n\n";
print Dumper({ inc => \@INC });
CHMOD to 755 and then run from the browser. What does that print?
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
You could try adding this in add.cgi, after the #!/path/to/perl ... so:
Code:
use lib '/usr/local/cpanel/3rdparty/perl/532/lib/perl5/cpanel_lib/x86_64-linux-64int/';Another option is to create a test script to see what environment variables are set (paths to the "libs" for example);
test.cgi
Code:
#!/usr/bin/perl use Data::Dumper;
print "Content-Type:text/html\n\n";
print Dumper({ inc => \@INC });
CHMOD to 755 and then run from the browser. What does that print?
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!