Preparing to install Centova Cast on a Parallels Plesk server


How do I prepare my Parallels Plesk Control Panel before installing Centova Cast?


Please note that these instructions are provided only as a courtesy to our customers; we cannot provide technical support for working with third-party control panels.

That said, these are the procedures used by our installing technicians to disable restrictions which would prevent Centova Cast from operating under Parallels Plesk Control Panel:

  1. Login to your server via SSH.
  2. Create a file called /var/www/vhosts/YOURDOMAIN.COM/conf/vhost.conf and place the following inside it:

    <Directory /var/www/vhosts/YOURDOMAIN.COM/httpdocs>
    php_admin_value open_basedir none
    php_admin_value safe_mode Off
    <Directory /var/www/vhosts/YOURDOMAIN.COM/httpdocs/cast/start>
    AllowOverride All

    That assumes, of course, that your domain name is YOURDOMAIN.COM and that you plan to install Centova Cast at http://YOURDOMAIN.COM/cast/ -- adjust as necessary. If that file already exists, just add the above to the end of it. This will turn off open_basedir and safe mode restrictions, and enable .htaccess files, for YOURDOMAIN.COM only (i.e., it won't affect the rest of your sites on this server).

  3. Run the following command to tell Plesk to update its configuration files:

    /usr/local/psa/admin/sbin/websrvmng -a
  4. Run the following command to tell Plesk to restart Apache:

    /usr/local/psa/admin/sbin/websrvmng -r

At this point, Plesk should be configured correctly to allow the installation of Centova Cast, and you should be able to run Centova Cast's script at this time.

The only remaining issue that may be commonly encountered on a Plesk server is a potential ionCube loader issue described separately in this article.