<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Как добавить сокет в файл настройки php-fpm]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=38402&amp;type=atom" />
	<updated>2017-02-01T06:38:23Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=38402</id>
		<entry>
			<title type="html"><![CDATA[Re: Как добавить сокет в файл настройки php-fpm]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451619#p451619" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Vascom пишет:</cite><blockquote><p>Хорошим тоном считается добавить и само решение или объяснить в чём была ошибка.</p></blockquote></div><p>ошибка в неумении читать доку, из <a href="http://www.conf">www.conf</a> который ставится по дефолту</p><div class="codebox"><pre><code>; The address on which to accept FastCGI requests.
; Valid syntaxes are:
;   &#039;ip.add.re.ss:port&#039;    - to listen on a TCP socket to a specific IPv4 address on
;                            a specific port;
;   &#039;[ip:6:addr:ess]:port&#039; - to listen on a TCP socket to a specific IPv6 address on
;                            a specific port;
;   &#039;port&#039;                 - to listen on a TCP socket to all addresses
;                            (IPv6 and IPv4-mapped) on a specific port;
;   &#039;/path/to/unix/socket&#039; - to listen on a unix socket.
; Note: This value is mandatory.
listen = /run/php/php7.0-fpm.sock</code></pre></div>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2017-02-01T06:38:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451619#p451619</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как добавить сокет в файл настройки php-fpm]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451608#p451608" />
			<content type="html"><![CDATA[<p>Изменил директорию,где будет сохраняться сокет,и написал полный полный путь до сокета и все заработало.<br /></p><div class="codebox"><pre><code>listen =/var/run/php5-fpm.sock</code></pre></div>]]></content>
			<author>
				<name><![CDATA[5artizan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=30337</uri>
			</author>
			<updated>2017-02-01T02:06:50Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451608#p451608</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как добавить сокет в файл настройки php-fpm]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451566#p451566" />
			<content type="html"><![CDATA[<p>Хорошим тоном считается добавить и само решение или объяснить в чём была ошибка.</p>]]></content>
			<author>
				<name><![CDATA[Vascom]]></name>
				<uri>https://linuxforum.ru/profile.php?id=5339</uri>
			</author>
			<updated>2017-01-31T09:55:21Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451566#p451566</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Как добавить сокет в файл настройки php-fpm]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451560#p451560" />
			<content type="html"><![CDATA[<p>Все проблема решена. <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[5artizan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=30337</uri>
			</author>
			<updated>2017-01-31T07:05:27Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451560#p451560</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Как добавить сокет в файл настройки php-fpm]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451554#p451554" />
			<content type="html"><![CDATA[<p>Делаю связку nginx с php-fpm.Не могу добавить Unix сокет в файл настройки php-fpm.<br />/etc/php-fpm.d/www.conf:<br /></p><div class="codebox"><pre><code>[www]
;listen = 127.0.0.1:9000
listen = /var/run/php-fpm/
..</code></pre></div><p>listen = 127.0.0.1:9000-это добавляется и php-fpm перезапускается нормально. А второй вариант указывал php-fpm не может запуститься.Пробовал добавлять полный путь к сокету тот же результат.Как сделать так,чтобы заработало?</p>]]></content>
			<author>
				<name><![CDATA[5artizan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=30337</uri>
			</author>
			<updated>2017-01-31T04:28:13Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451554#p451554</id>
		</entry>
</feed>
