Article ID: 1549, created on Oct 6, 2008, last review on Aug 12, 2014

  • Applies to:
  • Plesk Sitebuilder for Linux/Unix


Plesk Sitebuilder allows you to add any code written in any scripting or other language into the Script module: HTML, DHTML, XML, PHP, ASP, SSI, Perl/CGI, JavaScript, Java applets, and many more. You can find all kinds of third party scripts on popular webmasters' resources available on the Internet.

The scripts will work correctly if the publishing server is configured accordingly. Study the Readme files for the script you wish to add, and compare the requirements to those of the Plesk Sitebuilder publishing location. If there are some additional requirements imposed by your scripts, contact your Plesk Sitebuilder provider for assistance.

Note: 1. Scripts cannot be executed on a site preview. To check a script's operation, publish the site and proceed to the corresponding page.
2. Some scripts may require that you upload some additional content in your site's home directory. If you have no access credentials for the publishing location, or do not have enough permissions for uploading content, contact your hosting provider for assistance.
3. If PHP code is inserted into a page with the help of the Script module and there are not any different modules on this site, Sitebuilder considers such a site as static (not dynamic) and pages have the .html extension instead of .php. In this case, the code is inserted into files with an .html extension, while Apache's PHP module can only process files with a .php extension. To make sure that the PHP code is recognized by the PHP module as a PHP script, the "AddType" definition should exist in the Apache configuration, like in the example below:

AddType application/x-httpd-php .html

d055be4fdc562a8ecb8e6d0bf419f946 fad6dc0c8e983c17ae70a51ac7952cd0 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF