Actions
Task #102370
closedMore a question: The order of the $defaultExecutableSearchPaths Array
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2023-11-14
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
12
PHP Version:
8.1
Tags:
Complexity:
easy
Sprint Focus:
Description
Inside the Classfile:
is a PHP Array with known executable Path Informations:
protected $defaultExecutableSearchPaths = [
'/usr/local/bin/',
'/opt/local/bin/',
'/usr/bin/',
'/usr/X11R6/bin/',
'/opt/bin/',
'C:/php/ImageMagick/',
'C:/php/GraphicsMagick/',
'C:/apache/ImageMagick/',
'C:/apache/GraphicsMagick/',
];
I am a little bit confused about the path order if i think about the Unix Directory Tree specifications:
1. /usr/local/bin is for programs that a normal user may run
2. /opt/local/bin Add-on application software packages, optional!
3. /usr/bin is the primary directory for executable programs.
...
Question: Why stand an optional executable path in this order bevor the primary paths of executables
In my opinion this creates unnecessary warnings, maybe there is somthing that i not know here but i guess this would be the better order:
'/usr/bin/',
'/usr/local/bin/',
'/opt/bin/',
'/opt/local/bin/',
'/usr/X11R6/bin/',
.....
Actions