- Plesk for Linux
- Plesk for Windows
Permanent SEO-safe 301 redirect from HTTP to HTTPS is enabled in domain's Hosting Settings.
Rewrite rules for domain redirect from existing files, i.e. the following is defined in '.htaccess' file:
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
One of the website pages is shown.
This is a Plesk bug with ID #PPPM-5027, which will be fixed in future product updates.
Until the fix is available, use one of the following workarounds:
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.
A website hosted in Plesk is not accessible: open_basedir restriction in effect
Unable to open phpinfo() in Plesk when custom Modsecurity rules are in use: Unable to retrieve information about the PHP configuration
Unable to open phpinfo() in Plesk: Error: Unable to retrieve information about the PHP configuration