• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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