Symptoms
-
It is not possible to open phpinfo() page in Plesk > Domains > example.com > PHP Settings with:
CONFIG_TEXT: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty
-
Manually created phpinfo() scripts are working properly.
-
A custom PHP handler installed from 3rd-party or OS repositories is used for the domain.
Cause
A Plesk bug with ID PPPM-13986.
Resolution
The bug has been fixed in Plesk Obsidian 18.0.53. Install latest updates to fix it.
If it is not possible to update Plesk for some reason, use the following workaround:
-
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 to it:CONFIG_TEXT: <?php
phpinfo();
?> -
To view the
phpinfo()
page open thehttp://example.com/phpinfo.php
URL in a browser.
Comments
0 comments
Please sign in to leave a comment.