This question may be related to a resolved thread.
The “open_basedir none” solution in Andy’s thread helped solve a similar problem with MSM and Webfusion VPS & Plesk.
After following the msm setup instructions my web server would not display the second site on the second domain.
The message I got was
"The system path does not appear to be set correctly. Please open your path.php file and correct the path."I re-checked the path settings in the second-domain path.php file:
[code]$system_path = "/var/www/vhosts/master-domain.co.uk/httpdocs/system/";
$site_name = 'second-domain-sitename';</code></pre>
And these were correct for my VPS. Plesk also had php safe off in the control panel.
The issue was solved, again, by setting the open_basedir to none.
However, the fix process is different for WebFusion so the following maybe useful to others using MSM and WebFusion VPS:-
WebFusion starts Apache by automatically including a “httpd.include” file for each domain.
Each httpd.include file is held in the “/var/www/vhosts/domain-name.com/conf” directory.
So all I had to do (eventually) was login as root using Putty, go to the second-domain conf directory and edit the httpd.include using vi as below:
change from: php_admin_value open_basedir "/var/www/vhosts/second-domain/conf/tmp"
to: php_admin_value open_basedir noneThen I restarted Apache from the Plesk control panel.
It worked a treat. The good thing about individual httpd.include files is that the main php.ini file doesn’t have to be amended (big scary file with too many ways of breaking the server)
Hope this is helpful.
Regards
Steve
PS Sorry if this is obvious but please make sure you back-up httpd.include file before editing - this will do:-
root: cp httpd.include httpd.bak
(I messed up mine before I got to grips with vi free tutorial)
PPS Alternatively if you don’t fancy playing with system files - simply ask your web server support guys to change open_basedir to none for the second-domain and restart the web server.