Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure PHP installed by EE is used after installation #31

Open
kirtangajjar opened this issue Oct 27, 2020 · 0 comments
Open

Ensure PHP installed by EE is used after installation #31

kirtangajjar opened this issue Oct 27, 2020 · 0 comments

Comments

@kirtangajjar
Copy link
Contributor

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 EasyEngine/easyengine#1403 (comment).

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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant