Permanent SEO-safe 301 redirect from HTTP to HTTPS is enabled in domain's Hosting Settings or rewrite rules for domain redirect exists, i.e. the following is defined in
CONFIG_TEXT: <IfModule mod_rewrite.c>
RewriteRule ^test.php$ - [L]
RewriteRule . /test.php [L]
When clicking View the phpinfo() page at Domains > example.com > PHP Settings, Plesk shows the following error message:
PLESK_ERROR: Unable to retrieve information about the PHP configuration
#PPPM-5027 "Unable to retrieve information about the PHP configuration"
- Plesk Obsidian 02 July 2018 (fixed as PPP-31786)
If update is not possible for some reason the following workaround may be applied
Temporarily disable the Permanent SEO-safe 301 redirect from HTTP to HTTPS option in Domains > example.com > Hosting Settings when checking phpinfo() through the PHP Settings page.
Temporarily remove Additional Apache Directives in Domains > example.com > Apache and Nginx Settings.
.htaccessfile in Domains > example.com > File Manager.
Click View the phpinfo() page at Domains > example.com > PHP Settings.
Alternatively, create phpinfo() page manually:
Note: rewrites should not block the access to the created file.
Go to Domains > example.com > File Manager.
Click New > Create File and name it
phpinfo.php. Click OK.
Open the file
phpinfo.phpand add the following content in it:
Open the URL
http://example.com/phpinfo.phpin a browser to view the phpinfo page.