• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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