подключение sockets к php-fpm Debian

устанавливваем php-fpm согласно вот этому отличному мануалу http://phpsuxx.blogspot.com/2009/10/ispmanager-php-fpm-debian5.html

но для подключения sockets в процессе компиляции

«Патчим пхп и собираем:

patch -p1 < ../fpm.patch ./buildconf --force mkdir fpm-build && cd fpm-build ../configure --with-fpm --prefix=/opt/php53 --with-libevent="$LIBEVENT_SEARCH_PATH" --with-mysql --with-gd --with-freetype-dir=/usr/include/freetype2 --with-jpeg-dir=/usr/lib && make # или ../configure --with-fpm --prefix=/opt/php52 --with-libevent="$LIBEVENT_SEARCH_PATH" --with-mysql --with-gd --with-freetype-dir=/usr/include/freetype2 --with-jpeg-dir=/usr/lib && make make install " нужно в конец строки конфигурирования добавить --enable-sockets . А в остальном делать все по мануалу. Описание сокетсов http://www.php.su/functions/?cat=sockets

Tags: , ,

Leave a Reply