• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Resolved How to get Perl running with OS alma8

Dork

Regular Pleskian
Server operating system version
Almalinux 8
Plesk version and microupdate number
18.0.60
I installed perl and it is not possible to run per scripts.
Can someone please help me?
 
Can you provide more details on what doesn't work for you? And it would also be helpful to know what you've already tried.
 
I installed perl via yum, fcgi from the domain dashboard/hosting is activated,
Options +ExecCGI
AddHandler cgi-script .cgi .pl
is addet to the Apache direcctives
I checked the permissions of the script files
and I get:

Internal Server Error​

End of script output before headers
 
Problem solved - but I can't find a resolved Button
That's limited to moderators. I'll set it to resolved for you.

Good to read you've been able to resolve the issue. Care to share what you've done to solve it?
 
Good to read you've been able to resolve the issue. Care to share what you've done to solve it?
With my scripts I used a BEGIN block:
BEGIN {
$0 =~ m~(.*)/[^/]+~ || $0 =~ m~(.*)\\[^\\]+~;
$1 ? (unshift @INC, $1) : (@INC = reverse @INC);
}
An user of the perl-community.de told me that the perl version which is shipped with alma8, doesn't deliver $0 and so the code of the block can't work.
I replaced the code with use lib "." and everything works fine now.
 
Back
Top