Knowledgebase : Hosting FAQ > CGI and PHP
If your CGI/Perl scripts return a 500 Internal Server Error when accessing them via a web page, verify that your script is under your /cgi-bin/ directory, and that the file and directory have 755 permissions. This looks like "rwxr-xr-x" in some programs. ...
On most servers, PHP scripts are set to not log NOTICE errors, or possibly more, to your site's error_log file. If you are trying to debug your code, the following statements should be added to the top of your PHP files so they'll display the errors to ...
When setting up scripts on the website that send email, the path to sendmail may need to be adjusted in the script's settings to successfully send email. Please attempt to use the following path in your scripts in the following order until one works...
Some PHP applications will have a setting in their configuration to use "persistent connections". This setting should be off for hosted accounts. Persistent connections are often misunderstood and therefore end up being misused in ways that consume all...
Magic Quotes GPC and Runtime are not enabled on a server-wide basis on hosting accounts because it can break applications that don't expect it to be on and that don't test for it being on. You can turn magic quotes runtime on for your site on an entire s...
If you have installed a PHP application you downloaded, etc. and you get errors such as the following: Notice: Undefined variable: VARIABLE NAME It is most likely PHP's register globals being turned off causing the problem. This problem can usual...
If you need to run a CGI program in your normal html area of your site, instead of the dedicated /cgi-bin/ directory for scripts, you'll need to do the following. Add the following text to a file: Options +ExecCGI Then upload that text file to th...
When uploading CGI script to the site, you may need to adjust the path to Perl on the first line of the script. For scripts, Perl is located in /usr/bin/perl Example first line: #!/usr/bin/perl
Help Desk Software by Kayako support.miva.com/supportsuite/index.php?