Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Problem open_basedir restriction with multisite installation
Hi,
I am just installing TXP for a client who moved to a new provider and server. As he has 5 TXP installations, I wanted to switch – finally – to a multi installation.
I directed the (first) domain to /httpdocs/sites/site1/public (and optionally I tried the subdomain for admin). But instead of showing me an installation routine, I get the following error:
Warning: realpath(): open_basedir restriction in effect. File(/var/www/vhosts/sitename.de/httpdocs/textpattern) is not within the allowed path(s): (/var/www/vhosts/sitename.de/httpdocs/sites/site1/public/:/tmp/) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 33 Warning: include(): open_basedir restriction in effect. File(/lib/constants.php) is not within the allowed path(s): (/var/www/vhosts/sitename.de/httpdocs/sites/site1/public/:/tmp/) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 36 Warning: include(/lib/constants.php): failed to open stream: Operation not permitted in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 36 Warning: include(): open_basedir restriction in effect. File(/lib/constants.php) is not within the allowed path(s): (/var/www/vhosts/sitename.de/httpdocs/sites/site1/public/:/tmp/) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 36 Warning: include(/lib/constants.php): failed to open stream: Operation not permitted in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 36 Warning: include(): Failed opening ‘/lib/constants.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 36 Warning: include(): open_basedir restriction in effect. File(/lib/txplib_misc.php) is not within the allowed path(s): (/var/www/vhosts/sitename.de/httpdocs/sites/site1/public/:/tmp/) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 37 Warning: include(/lib/txplib_misc.php): failed to open stream: Operation not permitted in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 37 Warning: include(): open_basedir restriction in effect. File(/lib/txplib_misc.php) is not within the allowed path(s): (/var/www/vhosts/sitename.de/httpdocs/sites/site1/public/:/tmp/) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 37 Warning: include(/lib/txplib_misc.php): failed to open stream: Operation not permitted in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 37 Warning: include(): Failed opening ‘/lib/txplib_misc.php’ for inclusion (include_path=’.:’) in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 37 Fatal error: Call to undefined function txp_status_header() in /var/www/vhosts/sitename.de/httpdocs/sites/site1/public/index.php on line 40
When working with the subdomain mehtod and pointing the browser to http://admin.sitename.de/admin/setup (after preparing the subdomain), I get an “Internal server error”.
As far as I understand, the open_basedir restriction is the problem. How do I change this in a Pleask environment (as far as I understand I must edit the vhost.conf with ssh and vi)?
Any idea?
Best regards
Torsten
Offline
Re: Problem open_basedir restriction with multisite installation
Google for open basedir plesk: first hit
Offline