Applicable to:
- Plesk
Symptoms
-
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
.htaccess
file:CONFIG_TEXT: <IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^test.php$ - [L]
RewriteRule . /test.php [L]
</IfModule> -
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
Cause
Product issue:
-
#PPPM-5027 "Unable to retrieve information about the PHP configuration"
Fixed in:- Plesk Obsidian 02 July 2018 (fixed as PPP-31786)
Resolution
Workaround
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.
-
Temporarily rename
.htaccess
file 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.php
and add the following content in it:CONFIG_TEXT: <?php
phpinfo();
?> -
Open the URL
http://example.com/phpinfo.php
in a browser to view the phpinfo page.
Comments
0 comments
Please sign in to leave a comment.