Page MenuHomePhabricator

Run PHP environment checks from CLI
Open, NormalPublic

Description

We should run some environment checks from the CLI:

  • safe_mode / open_basedir
  • extensions
  • PHP version?

The CLI may have different configuration that the webserver (and this is common in some distros).

See chatlog for one case of safe_mode on CLI causing problems.

Revisions and Commits

Event Timeline

epriestley triaged this task as Normal priority.Jan 23 2013, 4:45 PM
epriestley added a project: Setup.
epriestley added a subscriber: epriestley.
epriestley changed the visibility from "All Users" to "Public (No Login Required)".Sep 27 2015, 1:51 PM
epriestley added subscribers: btrahan, Mnkras, chad, cblair91.

T7248 was a case of a user with neither the mysql nor mysqli extensions installed.

https://discourse.phabricator-community.org/t/activities-notifications-spam/3286/ is likely a case where curl was not installed on the CLI, but was installed in the web SAPI.