Archive for December, 2005

A Couple Tidbits

In: Linux

24 Dec 2005

I can never seem to remember, how to remember how to reconfigure a subdomain with plesk without looking it up, so for quick reference. <directory /home/httpd/vhosts/ajohnstone.com> php_admin_value open_basedir none </directory> /usr/local/psa/admin/sbin/websrvmng -a OR /usr/local/psa/admin/sbin/websrvmng -u –vhost-name=domain.com Also, today I learnt that you cannot attach the onmouseover event to an option element. I found this rather […]

Share

MySQL Install multiple instances. Create a folder called Conf with Instance.1.ini, Instance.2.ini, and Instance.3.ini. The Port each are listening on should all differ, as well as having a different data directory. I named these C:\Program Files\MySQL\MySQL Server 5.0\MySQLData\Instance1 mysqld –install “Mysql-Instance-1″ –defaults-file=”C:\Program Files\MySQL\MySQL Server 5.0\Conf\Instance.1.ini” mysqld –install “Mysql-Instance-2″ –defaults-file=”C:\Program Files\MySQL\MySQL Server 5.0\Conf\Instance.2.ini” mysqld –install “Mysql-Instance-3″ […]

Share

Expanding on a tip from the previous post, I quite often will have conversations over msn messenger in the morning and forgett to mail myself the logs of how to do things. Heres one way to access your logs or attach a file system. On the server, create a Share with write permissions in my […]

Share

I just came across this about Friends Reunited web site for £120 million on informitv, not bad considering it was a established from their back room ITV acquires Friends web site for 120 million pounds ITV, the UK commercial television company, has acquired the Friends Reunited web site from its founders for £120 million in […]

Share

Random Quick Tips

In: General

19 Dec 2005

Everyone has their own way of doing things, whether its through one short cut or another, anyway heres some quick tips. If you have any submit them below, i’m sure I we all still have plenty to learn. Minimise Outlook to Systray… Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Preferences] “MinToTray”=dword:00000001 MAP Network drives, including Samba from […]

Share

I was browsing through google for any new information on large scale PHP deployments, and to my surprise I got a message telling me my machine had been infected! Considering I am very careful what I run on my machine, and haven’t had a virus on my computer in over two or more years I […]

Share

MySQL 3

In: MySQL

17 Dec 2005

Lately i’ve been developing with MySQL3, and it’s almost like hitting your head against a brick wall with its limitations and specific documentation is difficult to find. Some of the limitations: Subqueries. ’select id from t where grp in (select grp from g where u > 100)’ Add DISTINCT to Aggregates JOINs with ambiguous columns […]

Share

Sharepoint & PHP

In: PHP

8 Dec 2005

I was interested in integrating PHP and SharePoint services, and using Microsoft Word 2003 (Or other MS Office Products) to upload documents directly to PHP, here are some of my observations. There are two processes winword.exe itself pyshically POST’s the word document on the server, another process called dssm.exe (Microsoft Office Document Update Utility), which […]

Share

It’s been a little while since I published something, so I’ll make something live. I tend to forgett about a silly quirk in internet explorer that I continually bump into, which generally takes me time to figure out why page does not load… Usually this is when downloading documents and is a very simple fix […]

Share

About this blog

Andrew Johnstone is a software engineer / lead developer working at Everlution Software.

Photostream

  • Multiple Ucarp on the same host | PaoloBertasi: […] http://ajohnstone.com/achives/running-several-vips-on-the-same-interface-with-ucarp-and-ha [...]
  • mohit: I am working the same on windows server 2008 and mysql version 5.1.39 ,but it is not working and i a [...]
  • Steve: Hi there... sorry that this is old, but I'm trying to use your script to check for my usage per seco [...]
  • vinodh: great. thanks . My boss wanted me to configure multiple mysql instances on same physical machine . i [...]
  • andrew.johnstone: In the example above this was in fact using spl_autoload_register. I've never debugged this properly [...]

GitHub

GitHub Octocat

ajohnstone @ GitHub

  • Status updating...