SSD freezing Windows 7 problem and fix

Recently I replaced the hard drive to SSD in my laptop Dell XPS 1647 . My choice was  Plextor M 5P Pro 128GB. As the magazine moved the existing drive in place of the optical drive – but that’s another story .

All beautifully and nicely – increase speed visible but … From time to time the system Windows 7 freeze . HDD LED is shining, the system don’t respond . It took a few minutes and occurred several times a day . Very annoying!

I started looking and found that it is responsible: Intel Rapid Storage Technology (RST) . In particular, LPM (Link Power Management) and DIPM (Device Initiated Power Management) . Theoretically, these systems have lower energy consumption SATA devices that support it , but as I can see can have side effects.

It remains to turn them off. RegEdit and go to work 😉 Continue reading

Symfony2.3: The dist file “app/config/parameters.yml.dist” does not exist. Check your dist-file config or create it.

After update my Symfony2 project to Symfony2.3 i get:

The dist file “app/config/parameters.yml.dist” does not exist. Check your dist-file config or create it.

Easiest way is copy app/config/parameters.yml to app/config/parameters.yml.dist and run php composer.phar update again.

That’s all! Have a nice day 🙂

Installing latest stable Git on Debian 6.0

I want install on my Debian 6 git. Apt-get install git give me old version. So, step by step to install latest stable git version on Debian:

apt-get install libcurl4-gnutls-dev libexpat1-dev gettext libz-dev libssl-dev
wget https://www.kernel.org/pub/software/scm/git/git-1.8.4.1.tar.gz
tar -zxf git-1.8.4.1.tar.gz
cd git-1.8.4.1
make prefix=/usr/local all
make prefix=/usr/local install

Ups…. result make:

LINK git-credential-store
libgit.a(utf8.o): In function `reencode_string_iconv':
/root/git-1.8.4.1/utf8.c:530: undefined reference to `libiconv'
libgit.a(utf8.o): In function `reencode_string_len':
/root/git-1.8.4.1/utf8.c:569: undefined reference to `libiconv_open'
/root/git-1.8.4.1/utf8.c:588: undefined reference to `libiconv_close'
/root/git-1.8.4.1/utf8.c:582: undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
make: *** [git-credential-store] Error 1

So download and compile necessary library libiconv:

wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.14.tar.gz
tar -zxvf libiconv-1.14.tar.gz
cd libiconv-1.14
./configure --prefix=/usr/local/libiconv
make
make install

and repeat make, make install from beginning…That’s all!

Have a nice day 🙂

Joomla 3.1 installation problem – brake on first step

I try install Joomla 3.1.5 on my VPS and installation problem stop after click to next step… First I tought it’s source broken – then download again – not help. After searching I found it’s related to server configuration, but I don’t want to align my server config only to one script. So this is – maybe not so clean – but worked solution. Continue reading