On a shared server, Perl version is 5.30.0, however it is only version 5.16.3 installed in the /home/..... path. Modules are also installed to the home path, Perl scripts state version 5.16.3, no matter how I have the "shebang" line configured. The following results from a terminal session
Hi, I've been working at setting up a local development server to give my older sites a refresh. They're coded in PERL CGI.
I've got everything working from the DEV environment, but the script reference to "use cPanelUserConfig.pm" isn't something I'm sure how to navigate.
It was a...
We have encountered an issue with latest updates on our CL6 servers in that a conflict has arisen with perl-git as a result of perl being in the excludes section of yum.conf. We added this in on the recommendation of cpanel as I understand the perl installation is maintained by cpanel on these...
I am on a shared host that uses cPanel. My aim is to use ExifTool, which can be installed from cPanel. But with not too much knowledge about Perl I am stuck.
What I managed so far:
I did a test.pl and put that into cgi-bin - and it worked fine!
I'm trying to install the DBD::mysql Perl module but it fails with this error in WHM:
Checking C compiler....C compiler (/usr/bin/gcc) OK (cached Sun Sep 8 23:57:35 2019)
Tuned C compiler not available because it is not enabled....Done
Method: Using cpanminus
--> Working on DBD::mysql...
I noticed today that there are a number of default Perl modules installed along with cPanel/WHM (located under Home > Software > Install a Perl Module) which I'm 50% certain I wouldn't require.
Is there any danger from removing them? Does cPanel itself rely on them in any way? I...
I have several accounts on my server that belong to me. I'm running WHM / cPanel v. 76.0.20 on a CentOS 6.10 xen hvm machine, and Perl v. 5.10.1.
(I know, I need to upgrade, but it's a huge pain so I'm procrastinating).
In 2014, I set up a lot of my smaller sites to use Perl .lib files on my...
I'm trying to install a few perl modules on my new cPanel server (Dedicated with root access), but it is failing.
The first I'm trying to install is the 'CGI' perl module, but I get the following error in WHM:
Checking C compiler....C compiler (/usr/bin/gcc) OK (cached Tue Apr 30 16:38:41...
I keep getting the "Suspicious process running under user" email from CSF.
I know that I can modify the pignore (ignore process) file in CSF, but for this particular issue, it is relevant only to a specific file - a log file that is taking too long to upload to external backup...
I find many lfd warnings with (I think) perl problems, like:
Use of uninitialized value $peername in unpack at /usr/local/cpanel/Cpanel/Server/Connection.pm line 289.
Use of uninitialized value $ip in pack at /usr/local/cpanel/Cpanel/Server/Connection.pm...
I've got a script that uses the Captcha::reCAPTCHA::V2 module, but Perl can not find the module, even though it's installed in the system. See the attached picture.
But when I try to run the script I get:
Can't locate Captcha/reCAPTCHA/V2.pm in @INC (@INC contains...
i have managing many cpanel vps and i determined on some servers when navigate to whm/perl modules/ show available module there are many modules to install but on some vps this section is empty
i am not sure that. it depends on first cpanel installation parts where it asks for install...
I have a perl script that runs in an account on my WHM cPanel server that's quite heavy on resources.
I've recently got myself a new VPS with more ram, more processors, better network connectivity etc.
Initially the script wouldn't work because of a lack of DBD/mysql.pm which I installed...
Could anyone shed some light on where I'm going wrong here?
So inside /public_html/cgi-bin/ there is a folder called test. In that folder there is a .pl script that contains the following:
print "Content-type: text/html\n\n";
When the cpanel server (latest release 68 on CloudLinux 7.4) was installed the admin skipped the "install common set of perl modules" step.
A year-old thread here:
SOLVED - Install common set of perl modules
suggests using "/scripts/perlinstaller Task::Cpanel::Core"
which fails with this...
when i want update server with Yum , I get following error :
--> Finished Dependency Resolution
Error: Package: perl-Git-1.7.1-8.el6.noarch (installed)
Requires: git = 1.7.1-8.el6
Removing: git-1.7.1-8.el6.x86_64 (installed)
git = 1.7.1-8.el6
Updated By: git-1.7.1-9.el6_9.x86_64...
When installing Perl modules to be used by cPanel's 3rd Party Perl, I use the following command:
/usr/local/cpanel/3rdparty/perl/524/bin/cpan -i List::Compare
However, the modules get installed here:
# perldoc -l List::Compare
Why is that? I get...
Well, I hate to have this be my first post here, but I have a problem of my own making. I believe I may have over-written some system Perl (5.8.8) modules. I had installed perlbrew to be able to use Perl 5.26.1 and when I couldn't get it to install a module, I used the wrong command path for...
I have a vps running whm and cpanel.
CENTOS 6.9 kvm
easy apache 4
No .pl files will run, but instead return an error 404. whether or not they are in the cgi-bin directory. Text files that are in the cgi-bin also give a error 404.
I have checked permissions. The cgi-bin...
Can anyone who has installed the perl module DBD:ODBC on a centos cpanel server supply a step by step?
Looks like an ODBC 'Driver Manager' needs to be installed first.
So I take it I'll need to install unixodbc package.
Then indicate where it is installed by setting the ODBCHOME variable.