12-12-2015, 09:20 AM
Hi, it's possible to configure sentora for work with php-fpm proxy? If not, consider to implement it in a next release, because run php with the apache handler its a overhead.
Thanks!
Thanks!
(12-18-2015, 12:24 AM)Me.B Wrote: [ -> ]no as the security model will be broken. Notice in apache 2.4 performance have improved a lot.
M B
(12-21-2015, 06:46 AM)SergiX44 Wrote: [ -> ](12-18-2015, 12:24 AM)Me.B Wrote: [ -> ]no as the security model will be broken. Notice in apache 2.4 performance have improved a lot.
M B
Yeah, but if i have a website with a lot of requests, apache handler is not the good choice, not in my case. Sentora is the only control panel that i see that use the apache handler, other use usually the fastcgi or fpm technology.
[root@panel ~]# httpd -V
Server version: Apache/2.4.6 (CentOS)
Server built: Jul 18 2016 15:30:14
Server's Module Magic Number: 20120211:24
Server loaded: APR 1.4.8, APR-UTIL 1.5.2
Compiled using: APR 1.4.8, APR-UTIL 1.5.2
Architecture: 64-bit
Server MPM: event
threaded: yes (fixed thread count)
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/etc/httpd"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/run/httpd/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"LoadModule mpm_event_module modules/mod_mpm_event.so# yum -y install php-fpm mod_fcgid fcgilisten = /var/run/php-fpm/socket.sock<FilesMatch \.php$>
# SetHandler application/x-httpd-php
SetHandler "proxy:unix:/var/run/php-fpm/socket.sock|fcgi://localhost"
</FilesMatch># systemctl start php-fpm.service
# systemctl enable php-fpm.service
# systemctl restart httpd.service(04-17-2020, 12:39 AM)emmarudd222@gmail.com Wrote: [ -> ]in any case, on the off chance that I have a site with a great deal of solicitations, apache handler isn't the acceptable decision, not for my situation. Sentora is the main control board that I see that utilization the apache handler, other use ordinarily the fastcgi or fpm innovation.