PHP-FPM & amp; PHP Selector
Форум
  1. Forums
  2. General
  3. General Discussion
  1. Michael Holforty
  2. Tuesday, 15 July 2014
  3.  Subscribe via email
It says in the Compatibility Matrix that PHP-FPM & PHP Selector are incompatible.  

Does that mean that if I am running Apache/suEXEC/FastCGI/PHP-FPM as the main, FPM will run accounts both inside and outside CageFS, and PHP Selector can't be installed on this system?

Or can I run  Apache/suEXEC/FastCGI/PHP-FPM for non CageFS accounts and the PHP Selector inside and for CageFS accounts?

now that I've spelled it out, I think I answered my own question... but clarify please?
Rate this post:
  1. 15.07.2014 06:07:23
  2. # 1
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
I don\'t kow if you even can run FastCGI + PHP-FPM at the same time. They are two competing technologies.

I am sorry -- but I cannot get what you are asking.
  1. 15.07.2014 14:07:51
  2. # 2
Michael Holforty Accepted Answer
Posts: 14
Joined: 07.03.2014
0
Votes
Undo
my question for you is not whether i can run PHP-FPM & FastCGI (mod_fastcgi, not FCGID), I can. I'm simply using the sockets communication method of mod_fastcgi instead of port method used by mod_proxy_fcgi.

the question was can I run Apache/PHP-FPM for non CageFS accounts and the PHP Selector inside and for CageFS accounts?

I guess I don't understand specifically what the incompatibility is between PHP-FPM & PHP Selector mentioned in the Compatibility Matrix means.
  1. 26.07.2014 12:07:34
  2. # 3
Michael Holforty Accepted Answer
Posts: 14
Joined: 07.03.2014
0
Votes
Undo
I'm assuming that since the compatibility matrix says PHP-FPM and CageFS are compatible, that PHP-FPM will run fine for both accounts inside and outside CageFS.  Correct?

can I run Apache/mod_fasfcgi/PHP-FPM for non CageFS accounts and the PHP Selector inside and for CageFS accounts?    Or, does the compatibility matrix indicate that I can't run the PHP Selector on a machine running Apache/mod_fasfcgi/PHP-FPM at all?
  1. 26.07.2014 18:07:35
  2. # 4
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
PHP-FPM is not compatible with PHP Selector
mod_fcgid (fastcgi) is compatible with PHP Selector.
  1. 28.07.2014 14:07:29
  2. # 5
Michael Holforty Accepted Answer
Posts: 14
Joined: 07.03.2014
0
Votes
Undo
thank you, that is what I read on the compatibility matrix. But what does that mean?  can you please elaborate to the questions I have asked?
  1. 28.07.2014 14:07:56
  2. # 6
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
I am sorry -- but it means exactly what it says.
You cannot run PHP Selector when using PHP-FPM. It doesn\'t matter if you run with or without CageFS.
  1. 31.07.2014 16:07:30
  2. # 7
Michael Holforty Accepted Answer
Posts: 14
Joined: 07.03.2014
0
Votes
Undo
You\'ll have to excuse me for the insistence of clarification, this page of your documentation seems to indicate a different relationship:
[url]http://docs.cloudlinux.com/index.html?roll_your_own_php.html[/url]
A relationship in which there may be conditions where PHP-FPM and PHP Selector are compatible. This is, of course, your baby. I\'m just trying to understand.

The PHP Selector documentation says you are planning to support it in the future. Any idea when that future may be?
  1. 18.08.2014 19:08:13
  2. # 8
Thomas Gross Accepted Answer
Posts: 4
Joined: 18.08.2014
0
Votes
Undo
Igor - I\'d be interested as well - any scope as to when php-fpm might be compatible with php-selector? We\'ve got a problem where running mod_fcgid with apache2.2 causes php processes to get killed without finishing the task on a graceful restart of apache (https://issues.apache.org/bugzilla/show_bug.cgi?id=55698) - changing to php-fpm would be of high interest for us :)
  1. 19.08.2014 08:08:56
  2. # 9
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
We have no plans to support PHP-FPM for php-selector. It requires restarting of end user php daemons, which I really hate. 
All our future work will be toward mod_lsapi --> which is already faster & more stable then php-fpm.
  1. 20.08.2014 02:08:23
  2. # 10
Thomas Gross Accepted Answer
Posts: 4
Joined: 18.08.2014
0
Votes
Undo
All our future work will be toward mod_lsapi --> which is already faster & more stable then php-fpm.
Hi Igor,

Thanks for your reply - I\'ve tested and I\'m really happy with the results, especially \'lsapi_terminate_backends_on_exit off\' in my case :)

Any ETA on lsapi going stable?
  1. 20.08.2014 11:08:59
  2. # 11
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Probably - Oct 1st.
  1. 31.08.2014 21:08:34
  2. # 12
Thomas Gross Accepted Answer
Posts: 4
Joined: 18.08.2014
0
Votes
Undo
We have no plans to support PHP-FPM for php-selector
Maybe update this article in case others read it: http://docs.cloudlinux.com/index.html?php_selector.html

...
PHP Selector is currently not compatible with PHP-FPM, though we are planning to support it in the future
...
  1. 01.09.2014 09:09:09
  2. # 13
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
Just in case -- we no longer planning to support PHP-FPM with PHP selector in the future. Instead we recommend everyone to start switching to mod_lsapi. PHP-FPM creates too many issues.
  1. 04.09.2014 18:09:26
  2. # 14
Michael Holforty Accepted Answer
Posts: 14
Joined: 07.03.2014
0
Votes
Undo
also might want to update the article referenced above mentioning PHP-FPM
http://docs.cloudlinux.com/index.html?roll_your_own_php.html 
  1. 30.04.2015 18:04:07
  2. # 15
Thomas Gross Accepted Answer
Posts: 4
Joined: 18.08.2014
0
Votes
Undo
Any ETA on lsapi going stable?
  1. 01.05.2015 13:05:23
  2. # 16
Igor Seletskiy Accepted Answer
Posts: 1200
Joined: 09.02.2010
0
Votes
Undo
If no new issues are found, we will push this release to production around May 15th.
Please, note that this release was mostly performance enhancing release. Overall - we are very happy with stability of mod_lsapi
  1. 14.07.2015 16:07:08
  2. # 17
Antonio Vilela Accepted Answer
Posts: 4
Joined: 23.06.2015
0
Votes
Undo
Any ETA on lsapi production release date?
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
гость
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.