Debian 7 cast bug for php-fpm versions

Version 1.52

Bugfix
Finished

Likely an old compiler bug or something similar, where a double value of 71.0 cast to to (int) gives 70 (via options.conf php2_release=7.1, x10) Solution (not great) is to add 0.00001 to account for the floating point rounding error, where the int always rounds down, so it will then end up with the correct 71. Other OS versions don't seem to run into this rounding error. Related to php-fpm config files, with Custom Httpd Config, eg: /usr/local/directadmin/data/users/username/php/php-fpm70.conf.custom1 vs /usr/local/directadmin/data/users/username/php/php-fpm71.conf.custom1 it was writing to the fpm70 file, when it should have been fpm71.

Interested to try DirectAdmin? Get a 30-day Free Trial!