• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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