Symptoms
-
It is not possible to open phpinfo() page in Plesk > Domains > example.com > PHP Settings with:
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
Until the bug is fixed, 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:<?php
phpinfo();
?> -
To view the
phpinfo()
page open thehttp://example.com/phpinfo.php
URL in a browser.