C
cc1234
Guest
I've multiple sites I need to run off one host. they all share a library folder or two. I've been copying each one into /var/www/vhost/[HOSTNAME]/httpdocs as w workaround for the fact I cannot set things up for all the sites to use a single shared copy.
I know I need to modify "open_basedir" but I've been unable to find the right place to change "open_basedir" either manually on disk or in the plesk web UI. I've seen many users having this issue, numerous complaints about it, and it seems Plesk likes to move this particular setting around pretty frequently.
pertinent plesk doc:
http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=69696.htm
relevant user thread I've found:
http://forum.parallels.com/showthread.php?t=113236&highlight=open_basedir
[NOTE: there were many user threads with this problem, but none of the rest were valid as they spoke of solutions referencing earlier/ different versions of plesk and none of them were relevant to 10.4.4]
I finally found the setting buried/obfuscated/ hidden here:
plesk -> server -> simple view settings -> PHP settings -> open_basedir
I tried adding my new path, no job. restarted apache, no joy. even found a reference to this..
/usr/local/psa/admin/bin/httpdmng --reconfigure-all
.. ran that after every change. no joy.
in desperation I dumped the shared folder into /tmp/library to see if it would work, and it did.
out of frustration and curiosity, I decided to modify open_basedir in the GUI and break it. I changed
"{DOCROOT}/:/tmp/" to "{DOCROOT}/:/tmp2/"
.. restarted apache, reconfigure-all, etc. and IT STILL worked.
so Mr Plesk/Parallels support people, either I'm missing something obvious, or your product appears to be very broken here.
I know I need to modify "open_basedir" but I've been unable to find the right place to change "open_basedir" either manually on disk or in the plesk web UI. I've seen many users having this issue, numerous complaints about it, and it seems Plesk likes to move this particular setting around pretty frequently.
pertinent plesk doc:
http://download1.parallels.com/Ples...inistrator-guide/index.htm?fileName=69696.htm
relevant user thread I've found:
http://forum.parallels.com/showthread.php?t=113236&highlight=open_basedir
[NOTE: there were many user threads with this problem, but none of the rest were valid as they spoke of solutions referencing earlier/ different versions of plesk and none of them were relevant to 10.4.4]
I finally found the setting buried/obfuscated/ hidden here:
plesk -> server -> simple view settings -> PHP settings -> open_basedir
I tried adding my new path, no job. restarted apache, no joy. even found a reference to this..
/usr/local/psa/admin/bin/httpdmng --reconfigure-all
.. ran that after every change. no joy.
in desperation I dumped the shared folder into /tmp/library to see if it would work, and it did.
out of frustration and curiosity, I decided to modify open_basedir in the GUI and break it. I changed
"{DOCROOT}/:/tmp/" to "{DOCROOT}/:/tmp2/"
.. restarted apache, reconfigure-all, etc. and IT STILL worked.
so Mr Plesk/Parallels support people, either I'm missing something obvious, or your product appears to be very broken here.