• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

VHOST conf help

B

blut

Guest
I am trying to get all my websites to be able to access one folder in /var/www/vhosts/classes that contain all the classes that i need/use for all my websites.

I have already tried to run a php script that tries to include a class the page just dies on the line where it tries to include and displays a blank white page.

So the open_basedir is obviously on and not allowing me to include outside the httpdocs.

I have hunted around and people say write the vhost conf file for each domain and run a set of commands. I cant do this as there will be a lot of domains on the server and it would be a massive amount of time taken. With WHM there was simply a check box i selected to allow me to use open_basedir. There is no checkbox in the plesk panel, people have said to modify the skeleton vhost file but i cant see it if i go to /var/www/vhosts/.skel/0/ there is no conf directory in there or vhost file...

I think all i need is to add the open_basedir none flag in to some conf file(default conf file) and i should be ok...but i simply cant find where or how....any help would be welcome please.
 
Back
Top