mk en ar en ca zh hbs_lat hbs_lat da nl en en en fr de he hu it en en pt pt ro nl es sv tr uk mk mk uk en hbs_cyr en en ca en eo en en en ca hbs_cyr mk ru mk ru ru ru ru mk mk ca mk mk hbs_cyr mk en en mk en en fr en sv en en en en en fr en en en fr en de en sv en de en da en de en mk en it en it en it en it en it en it en it en it en it en it en it en it en it en en en en en en en en en en en en en en mk mk hbs_cyr en en mk mk en en mk mk en de en en en en en en
Troubleshooting PERL Script Errors - База на знаења - Advantagecom Networks, Inc.
"I can't reach my site or the server"
Shared Web Hosting on Cobalt Servers
Shared Web Hosting on Plesk Servers
Virtuozzo and OpenVz Based Accounts
"I can't reach my site or the server"
CGI and/or PERL Issues
Dedicated Servers and Colocation
Shared Web Hosting on Cobalt Servers
Shared Web Hosting on cPanel Servers
Shared Web Hosting on Plesk Servers
Virtuozzo and OpenVz Based Accounts
Troubleshooting PERL Script Errors
If a PERL script does not execute correctly check the following:
1) Upload the file in ASCII mode.
2) Make sure the PERL script is uploaded to the cgi-bin directory.
3) Set the PERL script's permissions to 755
4) On a VPS, make sure your site's cgi-bin directory is set to 755 permissions. Any other set of permissions (including 777 permissions) is likely to result in the "Premature end of script headers" error message.
5) If you have access to a Linux shell prompt for the site, try executing the command:
This will check the PERL script for correct syntax, as well as help determine if the file was uploaded in binary mode.
6) If you have access to a Linux shell prompt for the site, execute the script. If your working directory is the directory the script is in, execute the following command to execute the script:
7) Check the Apache error log for the site. Frequently there are clues to why the script is not executing correctly in the Apache error log.
8) Check the size of your log files. If the /var/log/httpd/suexec.log is 2 GB in size your perl scripts will return a "Premature end of script headers" error message.
In the above examples, replace "filename.pl" with the actual name of your PERL script.
0 Корисниците го најдоа ова како корисно
Дали Ви помогна овој одговор? ДА НЕ
How should I set up the paths within my perl CGI scripts?
Use the following command from a shell prompt to find the path to perl: which perl It will...
Тикети за поддршка   Акции и промоции   База на знаења   Превземања   Статус на сервери   Контакт
Copyright © 2022 Advantagecom Networks, Inc.. All Rights Reserved.
Please enter a number between 8 and 64 for the password length
Close Copy to clipboard & Insert