View Issue Details

IDProjectCategoryView StatusLast Update
5505Composrcorepublic2023-12-17 19:11
ReporterPDStig Assigned ToChris Graham  
PrioritynormalSeverityminor 
Status assignedResolutionopen 
Summary5505: 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.
Attach Tags
Attached Files
Code_sftoEQ3voI.png (206,802 bytes)   
Code_sftoEQ3voI.png (206,802 bytes)   
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Add Note

View Status
Note
Upload Files
Maximum size: 32,768 KiB

Attach files by dragging & dropping, selecting or pasting them.
You are not logged in You are not logged in. This means you will not get any e-mail notifications. And if you reply, we will not know for sure you are the original poster of the issue.

Issue History

Date Modified Username Field Change
2023-12-15 02:32 PDStig New Issue
2023-12-15 02:32 PDStig Status Not Assigned => Assigned
2023-12-15 02:32 PDStig Assigned To => Chris Graham
2023-12-15 02:32 PDStig File Added: Code_sftoEQ3voI.png
2023-12-15 02:32 PDStig Additional Information Updated