Hostpoint’s web servers were switched to PHP-FPM, as this is a more modern way to run PHP on web servers. The suffix FPM stands for FastCGI Process Manager and refers to a process manager that executes the PHP scripts on the web server and offers additional functions.
What has changed with the switch?
The switch has resulted in some small functional changes:
- Limit for PHP processes: Until now, there was a limit on the number of running PHP processes per web-hosting user (see the article on error message 503). This restriction does now no longer apply globally per web hosting user, but instead for each individual PHP version per web hosting user.
- Running a website with a specific PHP version: To run your website with a specific PHP version, you now have to paste the following code into the .htaccess file:
~/.htaccessUse php-fpm php83
Previously:
~/.htaccessAddHandler application/x-httpd-php83 .php
Replace php83 with the desired PHP version number.
Please note: You do not need to make any changes if you set the PHP version for your website in the Hostpoint Control Panel, as the correct version was then automatically set in the background. - Double-file extensions: Files with more than one file extension (“double-file extensions”), such as index.php.html, are no longer executed as PHP. However, if you wish them to be executed as PHP, you can enable this by setting the following option in the .htaccess file:
~/.htaccessUse php-fpm-ext php83 .php.html
Replace php83 with the desired PHP version number. - Basic HTTP authentication: The PHP_AUTH_USER and PHP_AUTH_PW variables (user name and password for basic HTTP authentication) are no longer automatically transferred to PHP by default. In order for a PHP application to access PHP_AUTH_USER, PHP_AUTH_PW or HTTP_AUTHORIZATION, you must add the following line to the .htaccess file:
~/.htaccessCGIPassAuth On
For support requests please use this form instead.