• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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