Ensure PHP installed by EE is used after installation
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
Start by reviewing the linked bin/ee starter script around line 31 and the installer logic that selects PHP. Compare the update-alternatives approach with preferring the EE PHP version while retaining the stated fallback. Done means EasyEngine uses its installed PHP when available, required extensions are usable, and the fallback still works.
Written by the indexing model from the issue text.
Description
I think this problem is occurring when the user already has PHP installed. At that time, even if EasyEngine installs PHP, it is not being used. Default PHP of user is being used which may not have required PHP extensions (pcntl, curl, sqlite3, zip). I think we need to use update-alternatives to ensure that our version of PHP is being used.
Quoting my above comment for visibility from https://github.com/EasyEngine/easyengine/issues/1403#issuecomment-717189448.
There are few solutions,
- Use
update-alternativesto update system-wide PHP. - Update starter script to prefer our EE version(7.3 now) if available, else use whichever PHP is present.
- Dominant language
- Shell
- Stars
- 7
- Forks
- 6
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
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.
More from EasyEngine/installer
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
EasyEngine/installer#33 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
EasyEngine/installer#26 ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
EasyEngine/installer#22 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
EasyEngine/installer#18 ·
All issues in EasyEngine/installer
Similar issues
-
out-of-date
Difficulty 1/5 Under an hour Newbie friendliness 82/100
CachyOS/CachyOS-PKGBUILDS#1917 ·
Maintainers usually reply within 1 day
-
package-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug needs triage
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
EmbarkStudios/cargo-about#323 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vllm-project/vllm-metal#841 ·
Maintainers usually reply within 1 day