How do I enable cgi-scripts to run from httpdocs and httpsdocs directories?

Resolution By default Plesk runs CGI scripts in /cgi-bin/ folder only. To allow CGI scripts be processed from any folder, you should and uncomment the cgi-script AddHandler directive in the main apache configuration file /etc/httpd/conf/httpd.conf:

Plesk changing the linux permissions

Plesk uses PHP’s open_basedir setting to restrict PHP scripts to their domain’s httpdocs directory (and /tmp) for security. If you check the domain’s error_log you’ll see that the open_basedir restriction is in effect (or enable display_errors to see errors in your browser, but this is not recommended for production sites). You can override a domain’s …