I am using symlinks to share the WordPress core directory. It is working in my local machine, but when I try to deploy it on my Plesk server owned by Rackspace I have some right issues because the shared folder can’t have two allowed user to access it via PHP. Indeed I have the following error:
[Thu Jul 09 10:08:53 2015] [error] [client 220.127.116.11] PHP Warning: require() [<a href='function.require'>function.require</a>]: SAFE MODE Restriction in effect. The script whose uid is 10001 is not allowed to access /var/www/vhosts/mysite2.com/blog/wordpress/wp-blog-header.php owned by uid 10004 in /var/www/vhosts/mysite2/blog/index.php on line 17, referer: http://www.mysite2.com/blog/
I do not have this error with mysite1.com/blog because the user owning the wordpress folder is mysite1ftp such as:
drwxrwsr-x 69 mysite1ftp group 4096 Jul 9 09:12 mysite1.com drwxrwsr-x 44 mysite2ftp group 4096 Jul 8 16:53 mysite2.com drwxrwsr-x 5 mysite1ftp group 4096 Jul 2 11:15 wordpress
Do you think there is any solution to do that? How can the wordpress folder be accessible by both mysite1ftp and mysite2ftp?