For a clean install of Centos 7 and using the installer php-fpm get the
permission error
"unix:/var/run/php-fpm/php-fpm.sock failed (13: Permission denied) while
connecting to upstream"
This patch the correct group and user to run php-fpm process.
* Update iptables.sh
Removed the rules with --string "system" as is can cause issues with legitimate SIP traffic from clients with user agents such as "3CXPhoneSystem"
* Update iptables.sh
Removed the rule --string "system" as is can cause issues with legitimate SIP traffic from clients with user agents such as "3CXPhoneSystem"
* Made fail2ban settings more consistent across OSes, disabled HTTP ratelimit permaban on Debian as auto-refresh behaviour in FusionPBX can trigger it.
* Increase nginx-404 ban back to 1 hour
update configuration to allow the core/upgrade/install.php to have the
same read_timeout in nginx as it has in php execution time.
This should prevent the nginx timeout error when a upgrade takes longer
than 60 seconds (the deafult in nginx)
* added CentOS, Fedora, RHEL choices with minimal version check (recommited)
* fixed small typos
* added special option --use-php5-package
* parse options and export new environment variable USE_PHP5_PACKAGE
* added choice between php5* or php7.0* packages (recommited)
* fixed php*-fpm service name and php.ini file path (recommited)
* prepare socket name for nginx to work with php5-fpm or php7.0-fpm (recommited)
* added ppa:ondrej/php5-compat repo
* added dependency ppa:ondrej/php repo and package software-properties-common
* added execute permissions to ./centos/*.sh files
* added CentOS, Fedora, RHEL choices with minimal version check (recommited)
* fixed small typos
* added special option --use-php5-package
* parse options and export new environment variable USE_PHP5_PACKAGE
* added choice between php5* or php7.0* packages (recommited)
* fixed php*-fpm service name and php.ini file path (recommited)
* prepare socket name for nginx to work with php5-fpm or php7.0-fpm (recommited)
* added ppa:ondrej/php5-compat repo
* added dependency ppa:ondrej/php repo and package software-properties-common
* POSIX sh empty value check compatibility
* added CentOS, Fedora, RHEL choices with minimal version check (recommited)
* fixed small typos
* added special option --use-php5-package
* parse options and export new environment variable USE_PHP5_PACKAGE
* added choice between php5* or php7.0* packages (recommited)
* fixed php*-fpm service name and php.ini file path (recommited)
* prepare socket name for nginx to work with php5-fpm or php7.0-fpm (recommited)
* added ppa:ondrej/php5-compat repo
* added dependency ppa:ondrej/php repo and package software-properties-common
* drop and create again postgresql public schema with cascade option to prevent multiple domains creation in db