R
R
Roman Kutenko2013-02-09 10:29:38
linux
Roman Kutenko, 2013-02-09 10:29:38

Setting up php-fpm in php 5.2 (xml style)?

how to properly configure php-fpm.conf in version 5.2? There is a config in xml format and I can't set up different pools for different users! In version php 5.3, I created a file in the pool.d folder and registered it there for each user domain. It doesn't work in xml format.
From the documentation, the template looks like this

<?xml version="1.0" ?><br>
<configuration><br>
<section name="global_options"><br>
 (Смотрите ниже раздел "Глобальные опции")<br>
</section><br><br>
<workers><br>
 <section name="pool"> (одна секция на пул)<br>
(Смотрите ниже раздел "Опции секции")<br>
 </section><br>
</workers><br>

design
<?xml version="1.0" ?><br>
<configuration><br>
<section name="global_options"><br>
 (Смотрите ниже раздел "Глобальные опции")<br>
</section><br><br>
<workers><br>
 <section name="pool"> (одна секция на пул)<br>
(Смотрите ниже раздел "Опции секции")<br>
 </section><br>
<section name="pool"> (одна секция на пул)<br>
(Смотрите ниже раздел "Опции секции")<br>
 </section><br><br>
</workers><br>

does not work.
Help me figure out the configs so that for each site you can create a pull and specify a user

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Roman Kutenko, 2013-02-09
@Sky4eg

I don’t know if it’s a crutch or not, but the problem was solved by specifying my .sock file for each virtual host

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question