• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Error: Unable to retrieve information about the PHP configuration

Stergios G

Basic Pleskian
Server operating system version
AlmaLinux 8.8 (Sapphire Caracal)
Plesk version and microupdate number
Obsidian V. 18.0.52
Hi all,
On php setting when i try to check php info (by using the link: View the phpinfo() page) i get the error:
"Unable to retrieve information about the PHP configuration."

This is a dedicate server and it hosts two websites. (WordPress, magento).

The error appears:
  • On one of this host subscription (magento). On the other subscription phpinfo link works fine, on any php version.
  • On php 7.3, 7.4, on other php versions (8.0, 8.1) i have no problem.
  • When i create a new php info file and i try to show on my browser (mydomain.com/info.php), i get error 404.
on Log Brower > Plesk tab, i have those errors when i click phpinfo link:
  • Unable to retrieve information about the PHP configuration.
  • Failed to execute request: The requested URL returned error: 404 Not Found
What i have already try with no luck:
  1. # plesk repair web domain.com
    # plesk repair fs domain.com - Issue - Error: Unable to retrieve information about the PHP configuration
  2. Temporarily disable the Permanent SEO-safe 301 redirect from HTTP to HTTPS option - Resolved - Error: Unable to retrieve information about the PHP configuration
  3. compare php.ini files between different php versions (from Tools & Settings> PHP settings).
  4. check .htaccess files for any disabled functions or disabled restrictive rewrite rules - https://support.plesk.com/hc/en-us/...rieve-information-about-the-PHP-configuration
  5. i think i have read any post here.
Any other idea please?
 
You checked .htaccess, yet it is possible that this interferes with the function. Also make sure that on upper directories there are no additional .htaccess files. Some users have such a file in their subscription root directory. That would actually influence everything below.

Sometimes switching to another PHP version then switching back to the one you are using helps.
 
Thnx Peter for your reply.
Well, what i noticed? this is .htaccess content on /httpdocs folder:
Code:
#remove this line to enable live site
#DirectoryIndex index.html index.php

RewriteEngine on
RewriteCond %{REQUEST_URI} !^/pub/
RewriteCond %{REQUEST_URI} !^/setup/
RewriteCond %{REQUEST_URI} !^/update/
RewriteCond %{REQUEST_URI} !^/dev/
RewriteRule .* /pub/$0 [L]
DirectoryIndex index.php

When i remove all lines (magento stop working) but php info works!
So that was the problem the "RewriteCond"
 
Back
Top