Default extension location for Windows relative to php.exe
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing how the Windows build determines extension_dir when no php.ini is loaded, using php.exe as the installation reference. Compare installations under C:\php, C:\util\php, and C:/php5.6.4, and verify that the default points to the sibling ext directory without requiring configuration.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, php
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100