Default extension location for Windows relative to php.exe
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- C
- Sterne
- 40.4k
- Forks
- 8.1k
- Ø Merge
- 2 T. 13 Std.
- Gemergte PRs (30 T.)
- 96
Beschreibung
Description
Please can the default extension location be set to the ext directory in the same directory as the php.exe
It seems that the default location without an ini file loaded is
extension_dir => C:\php\ext => C:\php\ext
That would work if php was installed in C:\php
But not if its installed in C:\util\php or C:/php5.6.4 see related issue.
I know that the extension location can be specified in the php.ini,
however usage of sensible default values can prevent superflous/unnecessary configuration
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit nachzuverfolgen, wie der Windows-Build extension_dir bestimmt, wenn keine php.ini geladen ist, wobei php.exe als Installationsreferenz verwendet wird. Vergleiche Installationen unter C:\php, C:\util\php und C:/php5.6.4 und überprüfe, dass der Standardwert auf das benachbarte ext-Verzeichnis verweist, ohne eine Konfiguration zu erfordern.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- c, php
- Bereich
- backend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100