Knowledge Base
Preparing to install Centova Cast on a Parallels Plesk server
Aug 01, 2008 11:07 AM
Question:
How do I prepare my Parallels® Plesk® Control Panel before installing Centova Cast?Answer:
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:
- Login to your server via SSH.
- 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>
<Directory /var/www/vhosts/YOURDOMAIN.COM/httpdocs/cast/start>
AllowOverride All
</Directory>
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).
- Run the following command to tell Plesk to update its configuration files:
/usr/local/psa/admin/sbin/websrvmng -a
- Run the following command to tell Plesk to restart Apache:
/usr/local/psa/admin/sbin/websrvmng -r
The only remaining issue that may be commonly encountered on a Plesk server is a potential ionCube loader issue described separately in this article.








