Hopefully someone will find these install notes useful.. since I just ordered my MediaTemple DV 4.0 Linux server I wasn’t used to the control panel or the SSH terminal it was pretty confusing getting CPVLab up and running smoothly and took me almost a whole day to figure out.

Time to install: 30 minutes
*Quick note* – I won my copy of CPVLab from CPVDen Forums, they hold contests every month so if you want the chance to win an amazing PPV tracking tool and save $300 go sign up.
This instruction will assume you know how to create a database, a database user, setup your website etc and have already done so…
Ok onto the install notes…
The first problem was that after copying all the CPVLab install files into my main website directory I tried to run the install.php file in Firefox and it was nothing but a blank screen. In IE it would give me a 500 internal server error.
After talking with Robert from CPVLab he told me the white screen happens because MediaTemple DV 4.0 has the latest version of PHP and MySQL installed but it is missing the IonCube Loader Libraries (which I believe parses encoded PHP).
So to fix this problem you simply need to get the IonCube loaders installed on your server. Here’s how you do it:
Step 1: Enable root access on your server.
http://wiki.mediatemple.net/w/%28dv%29:Enable_root_access
Step 2: Give your database user SSH access so you can make changes in the terminal.
- Login to Plesk
- Select your domain
- Click control pannel
- Click websites & domains tab
- Click FTP access
- Select your FTP user name
- From the drop down menu choose /bin/bash/

Step 3: Now your FTP user should have access to the SSH menu which will now be unlocked. Click “hide advanced options” then choose SSH/shell access.

Step 4: Now you should enter your FTP user credentials to login to the terminal, then just enter a few simple lines of code and your all set.
Once you’ve successfully logged in enter this code and press return:
This will attempt to log you in as as root administrator and will prompt you for your root password which you set when enabling root access.
Now you should be logged in as root, next enter the following code and follow the prompts:
wget -q -O - http://www.atomicorp.com/installers/atomic | sh
And then one final code to enter:
yum install php-ioncube-loader
Now all that’s left to do is reset your server and your good to go! Now when you enter http://yourdomain.com/install.php it should no longer be a blank screen and will install CPVLab.
Hopefully this saves someone lot’s of time.
Cheers