• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

cross-sub-domain include path

janjoh

New Pleskian
Hello!

I am trying to migrate an old website to my Plesk instance

On the old system it was divided into two domains.

galleri.domain.net

and

gallerimaster.domain.net


galleri.domain.net used include_path to be able to read from gallerimaster.domain.net but this i cannot get working under plesk.

I have a website (domain.net)

under it i have created two subsites (galleri) and (gallerimaster)

In the config for galleri i have changed "include_path"

/var/www/vhosts/domain.net/gallerimaster.domain.net/web:.

and yet it flunks with

[Sat Jan 24 11:45:03.768865 2015] [:error] [pid 16581] [client 213.114.166.188:54442] PHP Fatal error: require(): Failed opening required '/var/www/vhosts/domain.net/gallerimaster.domain.net/web/main.php' (include_path='/var/www/vhosts/domain.net/gallerimaster.domain.net/web:.') in /var/www/vhosts/domain.net/galleri.domain.net/web/main.php on line 3, referer: http://galleri.domain.net/

I have various combinations of open_basedir and include_path, but i cannot seem to make plesk let me include files from another subdomain

I am the server admin for the Plesk instance.
 
Back
Top