Ниже приведен код, что мне здесь не хватает
$doc = new DOMDocument();
// this has file permission 644 previously, and changed to 755
$doc->loadHTMLFile('http://gartneryrket.no/digitalemagasiner/resources/uploads/releases/zipfiles/1484716981/index.html');
// same code is working in another site
// when I specify path not url then its working
Используйте путь как:
/home/gartneryrket/public_html/digitalemagasiner/resources/uploads/releases/zipfiles/1484716981/index.html
Меня устраивает.
Других решений пока нет …