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

require_once doesnt work well in vhosts

R

rednimer

Guest
Im trying to move my website from a server without plesk to one with plesk. The problem I seem to be having is i have require_once commands throughout the script, and it doesnt seem to work right. If I change it to require_once'/var/www/vhosts/domain.com/httpdocs/filename.php' I can get it to work, but I shouldnt have to do that. I should be able to leave it as require_once'file.php'.

And who knows if its messing up other commands also.

Anyone having the same problem, or know how to resolve it?
 
Back
Top