• 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 PHP document root

SN1P3S_

New Pleskian
I tried searching on multiple sites, but did not found anything that can help me.
Is it possible to change the PHP DOCUMENT_ROOT to the httpdocs folder inside plesk?

This is what I am using:
1640524134397.png
 
select the domain, in the Hosting Setting you can change it!
 

Attachments

  • ksnip_20211226-144403.png
    ksnip_20211226-144403.png
    22.4 KB · Views: 3
Hi, thank you for your message!
It's already inside the correct folder, but my document_root still starts at /var/www/...
1640527417560.png
 
Every link, error and path is now showing /var/www/vhosts/...
And I would like to just have a simple '/file.ext' instead of /var/www/......./file.ext
 
No, that is not easily possible. There is no reason this should impact your site though. Sounds like the application itself has some issues.
 
Back
Top