Функция отправки почты временно выключена на данном сайте. Попробуйте позже.

Быстро и безболезненно ставим memcached.


#apt-get install memcached



#Memcached будет работать, как демон
#Лог будет складывать туда
logfile /var/log/memcached.log
#Отведём 256 мегабайт ОЗУ под хранилище
-m 256
#Слушать будет этот порт
-p 11211
#В последствии желательно поменять
-u nobody
#Слушаем localhost


#/etc/init.d/memcached restart


# netstat -tap | grep memcached

Сцепляем с PHP:

apt-get install php5-dev libmemcache-dev
pecl download memcache
tar xzvf memcache-2.2.6.tgz
cd memcache-2.2.6/
phpize && ./configure --enable-memcache && make
cp modules/memcache.so /usr/lib/php5/20060613/  - тут проверяем, должна быть указана ваша версия!
echo 'extension=memcache.so' >> /etc/php5/apache2/php.ini
/etc/init.d/apache2 restart

Собственно все. Спасибо хабру за это.

  • Guest - sdgsf

    This rolex replica watch exhibition, Rolex omega replica watches launched the new Air King, the replica watches uk watch case diameter of 40 mm, 904L steel forging. Unique black dial, with a large number of swiss replica watches Arabic numerals hour markers, minutes scale conspicuous, so that navigation can clearly read.

    0 Like
  • Guest - hoowei

    Using red numerals and magnifier bubble, the readability of the date is better than normal. Looking a little closer to this http://www.fakewatchesshow.co.uk/ replica watches uk you may think of the http://www.warham.org.uk/whois.html replica watches sale because they share some similarity in the layout and functionalities on the dial. Any way they shows different elegance and temperament. In 1963, production of the http://www.oakleafgardenmachinery.co.uk/superreplica.html replica watches sale began with the reference 6239, initially with a Valjoux 72B movement, and identical to that of the 6238 models. In 1965, the first model with http://www.replicawatchesukshop.co.uk/ replica watches was produced. The DAYTONA boom started in Italy in 1985, when a magazine published on its cover the photo of G. Agnelli, arm resting on the mast of a boat, wearing a classic 6263 with light-colored dial. A simple photo that would breathe new life into a model that for 22 years had never really found its public. The http://www.rolexreplicaukstore.co.uk/ rolex replica uk is probably the highly sought after watch.

    0 Like

Leave your comments

Post comment as a guest

О сайте

Тут должна была быть написана различная информация о сайте но мы подумали что она никому, к черту, не сдалась и поэтому здесь был размещен этот текст. Тоже никому не нужный.