Monthly Archive for December, 2008

OpenX 2.6.3 Optional Installation Steps

After Installing OpenX, the web based installer suggests some optional installation steps. Sadly some of the links provided on the last page of the web based installer do not lead one in the right direction. Here are the steps with notes on how to take care of this business:


  1. Lock your configuration files. The configuration file is in the ‘var’ directory (which may be inside the ‘openx’ directory if you install path looks something like http://www.mydomain.com/openxThe file itself will look something like this: mydomain.conf.php

    You need to change the permissions (CHMOD) of this file to 0644 and while you could do this via FTP, I avoided all this headache by once again accessing my space with ssh shell access and typing:

    CHMOD 444 mydomain.com.conf.php

  2. Set up a regular maintenance task.

    One again the last page of the web installer leaves one out in the cold - but a little Googling reveals an article on Running Maintenance from the OpenX website.This article details good information on how you run Maintenance tasks by asking your server to run particular scripts within the OpenX installation on a recurring schedule courtesy of a Cron job. But leaves a developer out in the cold when it comes to clear instructions about using the built in Maintenance tools (which do the same thing) inside the OpenX admin interface. It’s not as simple as visiting

    Global Settings > Maintenance within your OpenX admin interface. I needed to (A) Switch to Administrator account from the ‘Working As’ drop down menu in the top right hand corner of the OpenX interface and then (B) Click on ‘Maintenance’. From there you can run a range of Maintenance tasks.

  3. Review your system configuration settingsThis sounds ominous, but all you need to do is (A) Switch to Administrator account from the ‘Working As’ drop down menu in the top right hand corner of the OpenX interface and then (B) Click on ‘Global Settings’.


Installing OpenX 2.6.3 on MediaTemple (gs)

Here are my instructions/notes from installing OpenX 2.6.3 on my MediaTemple (gs) hosting. In all I would say the installation went exceptionally smoothly. This bodes well for the karma between OpenX and me.

1. Download the source from the OpenX website;
2. Upload the same .ZIP file to your designated MediaTemple (gs) space via FTP;
3. Using an ssh terminal connection ‘unzip’ the contents. The files end up in one directory named ‘openx-*.*.*’ (which is what the OpenX Getting Started Guide recommends) but I moved the contents of this directory into my root directory without any later consequences.
4. Fire up the web based installer. It’s simple - visit the root of where your files are installed with your browser. If you left the files in the ‘openx-*.*.*’ then you will want to visit somewhere like ‘http://www.mydomainname.com/openx-2.6.3/’
5. The first page of ‘System Checks’ from the installer can find cause for quarrel with PHP ‘timezone’ if you are using PHP4. Switching to PHP 5 avoids these issues. If anyone cares to comment on why, I would be much obliged. Rest assured, however, that you can set the correct timezone later on in the web based installer.
6. When entering the Database details ‘internal-db.s*****.gridserver.com should work just fine. Likewise, no need to fret over the Port Number requested by the web based installer. The default port number provided by the web based installer should work just fine.

So now you can make yourself a cup of tea and when you come back to your screen tackle the OpenX Optional Installation Steps




Register