Unable to load a custom php.ini configuration with wordpress recipes
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 22
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
Hi all,
I´m afraid that I cannot load a custom php.ini conf with wordpress recipe.
I want to change the upload_max_filesize. Here is the .yaml:
name: standalone
recipe: wordpress
config:
php: "7.4"
via: apache
webroot: .
xdebug: true
config:
php: config/php.ini
I've try to
php: absoluteLocationTo/php.ini``
php: php.ini and put the php.ini in the same folder as lando.yml
It creates a directory named "php.ini", but not the file. If I create the file, it does not load it. It does not show it on phpinfo or in the terminal, if I try to load some values there, it does not work...what Im doing wrong?
thanks in advanced
Contributor guide
No contributing guide indexed for this repository
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 with the wordpress recipe configuration in lando.yml and the referenced config/php.ini path. Reproduce the setup and inspect the generated php.ini directory, then verify the active configuration through phpinfo and the terminal. Done means the custom file is loaded and upload_max_filesize reflects its value.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php, wordpress
- Domain
- backend, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100