• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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