View Issue Details

IDProjectCategoryView StatusLast Update
0005505Composrcorepublic2023-12-17 19:11
ReporterPatrick SchmalstigAssigned ToChris Graham 
SeverityMinor-bug 
Status assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0005505: fixup_bad_php_env_vars may give wrong DOCUMENT_ROOT for some web hosts
Descriptionfixup_bad_php_env_vars may prematurely stop piecing together the correct DOCUMENT_ROOT on some web hosts, such as those running Plesk.

Specifically, in the indicated / highlighted code of global2.php, this can prematurely stop building DOCUMENT_ROOT. Therefore, a website hosted in Plesk for example might have a path of /var/www/vhosts/domain/subdomain . But DOCUMENT_ROOT ends up getting "fixed" in error to /var/www.

Is this code block necessary? Simply disabling it caused things to work correctly on the Plesk site. I'm not sure if it would break other sites.
Additional InformationThis issue also exists in v11.
TagsNo tags attached.
Time estimation (hours)
Sponsorship open

Activities

Patrick Schmalstig

2023-12-15 02:32

administrator  

Code_sftoEQ3voI.png (206,802 bytes)
Code_sftoEQ3voI.png (206,802 bytes)

Issue History

Date Modified Username Field Change
2023-12-15 02:32 Patrick Schmalstig New Issue
2023-12-15 02:32 Patrick Schmalstig Status non-assigned => assigned
2023-12-15 02:32 Patrick Schmalstig Assigned To => Chris Graham
2023-12-15 02:32 Patrick Schmalstig File Added: Code_sftoEQ3voI.png
2023-12-15 02:32 Patrick Schmalstig Additional Information Updated View Revisions