Back to Tools and Features
How can I check to ensure Perl is Enabled?
"Can't locate.. " Error

Installing Perl Modules
There is no need to "enable" Perl explicitly, as it is available by default on our Web Hosting packages. Simply upload your Perl scripts (with a .pl or .cgi extension) to the appropriate directory—usually the /cgi-bin directory—and ensure the scripts have the correct permissions (typically 755).
How can I check to ensure Perl is Enabled?
Navigate to StackCP's Access / Error Logs section and check the Error Logs. If you see the message:
- Python/Ruby/Perl not enabled on this webserver. Please contact support.
Please raise a support ticket and we will look into this further.
"Can't locate.. " Error
If the Perl library exists in your cgi-bin folder but you see an error in the logs such as this:
- Can't locate wtcart.pm in @INC (you may need to install the wtcart module)
Then the following directive should first to the .htaccess file before re-running the related Perl script:
- SetEnv PERL_USE_UNSAFE_INC 1
This sets Perl to use local files and should resolve the error.

If you need further guidance or encounter any other issues running Perl scripts, please consult the knowledge base or reach out to support for additional assistance.