• 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.

Question resolve the open_basedir restriction

Could you please be more specific? What exact problem do you have and how it can be reproduced? What sort of error messages do you have?
 
I have rename a subscription. But when i try ton connect to the website after the rename i have this...
Warning: file_exists(): open_basedir restriction in effect. File(/var/www/vhosts/oldwebsitename/httpdocs/) is not within the allowed path(s): (/var/www/vhosts/newwebsitename/:/tmp/) in /var/www/vhosts/newwebsitenamem/httpdocs/
 
Did you wait until the Apache restart interval has expired and Apache was restarted?

If the error still exists after the Apache restart, execute this command on your console:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain DOMAIN.TLD
(replace DOMAIN.TLD with your new website name). This will re-create the virtual host configuration files and restart the webserver for the new settings to take effect.
 
If the previous suggestion does not work, check your software whether the old domain name is hardcoded in a configuration file. It is not necessarily a wrong Plesk configuration, it can also be that a file_exist() function is pointing to the old website name, because in your script the old website name has not been updated to the new website name.
 
Back
Top