PHP

New website - EEG Biofeedback

A new website is borne – Biofeedback London. „Neurofeedback is an efficient, safe and non-intrusive method of training, by which the brain learns how to be more effective.“

To create it I used my „still not ready to publish“ framework. After my experience with the impressive Symfony I know the errors which needs to be fixed before giving my code to someone.

Upgrade to Apache 2.2 on Gentoo (PHP5 SVN SSL)

How to easily upgrade Apache 2.2 running PHP5 and SVN with SSL under Gentoo.

Recently I've upgraded the Apache on my gentoo server from 2.0 to 2.2.

Because it looked like just the minor change in numbers I ahven't even read the documentation. Silly me.

Everything stopped. SSL, SVN and even PHP. Mainly because configuration files are changed and it's upgrade is destroying some of the old settings. Someone said that it should be name Apache 3.0, from the configuration point of view – I have to agree.

Here are the steps one should take to make the whole process successful.

Moving Drupal from PHP4 MySQL4 and Apache 1 to newer versions

Recently I faced the problem of moving one of our drupal sites to a new environment. I had several problems, which probably are quite common. Here it is what one have to do – step by step.

My settings are (Drupal 4):

Old server: Apache 1.3, PHP 4.4.4, MySQL 4.1

New server: Apache 2.0, PHP 5.2.2, MySQL 5.0.40

1. Make a backup of the site (database and files)

Do full MySQL dump (preferable with DROP commands). It's easy to do with stuff like PHPMyAdmin. With a mysqldump command just do:

Identify DOM element of navigation item in drupal

This article explains how to modify Drupal system to enable identification of every element in Navigation menu.

This may be used to do some additional work in JavaScript or just add more personalization to menu items through CSS.