Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Ensure PHP installed by EE is used after installation

Open
#31 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
php, shell
Domain
cli, devops

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,

  1. Use update-alternatives to update system-wide PHP.
  2. 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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EasyEngine/installer

All issues in EasyEngine/installer

Similar issues

More Shell/Bash issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.