D
D
denn2014-07-11 16:16:00
PHP
denn, 2014-07-11 16:16:00

What is better to use as a PHP handler?

Worth Apache. And hosting panel ISPConfig. The question arose about the PHP handler, which one to choose? Installed next. handlers: PHP as an Apache module, FastCGI, PHP-FPM, SuPHP. The eyes flickered. In particular, I'm interested in the following. points:
1. security (i.e. execution of php scripts on behalf of each domain owner.)
2. php.ini config for each user is separate (and instructions on how to implement this would not hurt)
3. speed of script execution

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2014-07-11
Protko @Fesor

php-fpm - supports pools, that is, each domain has its own pool, with its own php.ini, process owner settings, etc. For all the above parameters, it fits the best. But I don't know how it is implemented in the context of ISPConfig. And I've never seen it in conjunction with apache.

S
ShamblerR, 2015-02-24
@ShamblerR

1. use FastCGI by default and the user and group are different for everyone.
2. in the admin panel, in fact, it is, the entire php.ini is copied, each user is added to your custom at the end. everything is there and it works. or a very simple one. klondike-studio.ru/blog/vse_pro_hosting/fastcgi-pr...
3.apc-php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question