Local composer update fails with new heroku php buildpack -
When we run one in Roku, supported by our own PHP custom buildpack, then we are running into a problem. Harko us composer There is a need to add some extensions to the Jason "Need" section, but when you try to update locally, it fails because these packages are not present in the repo.
Config file:
<">" "" "" "" "" "" "" "" * "," Ext-memcached ": "*", "Aws / aws-sdk-php": "2. *", "rollbar / rollbar": "*", "yiisoft / yii": "1.1.15", "cludier / cloudifier": "1.0 ".11", "GOIP / GOIP": "v1.14", "Adridrid / ReaderGrid": "2.1.1", "Swift Mailer / Swift Mailer": "v5.2.1", "Crisu83 / yiistrap": "dev -bs3 "}," require-dev ": {" phpunit / phpunit ":" 3.7. * "," Phpunit / dbunit ":" & gt; = 1.2 "," phpunit / php-invoker ":" * ", "Phpunit / phpunit-selenium": "& gt; = 1.2", "phpunit / phpunit-story": "*", "PDF / PDAFord": "1.1.0", "Sebastian", "Squilibs / php_codesniffer": "1. *", "phpmd / phpmd": "1.4. *", "Phploc / phploc": "* Error message:"pdepend / pdepend" / phpcpd: "*", "mayflower / php-codebrowser": "~ 1.1"}}
Loading composer repository with info from 11:08: 55 {Development} / Volumes / Development / Web $ Composer Update Package Updating Dependency (including Requirement-Dev) One of your packages needs installs Can not be solved in the set Problem 1 - The requested PHP extension ext-newrelic * is missing from your system. Problem 2 - The requested PHP extension is missing from ext-memcached * your system.
Any ideas?
You must install those extensions, assuming that during the development you will have your code locally Develops, runs and tests, using almost identical components and environments in production form, so if you use a memcache in production, you also use it locally. This ensures that you are not running in bad surprises because different datastore behave differently. See also
Exception to the rule: You do not have to establish a new residue extension; If you provision new residue add-ons (by detecting the NEW_RELIC_LICENSE_KEY
env var), then it is automatically enabled on push, see (this is very popular locally on the developer's box Less experimentation, and may have some trouble installing).
Comments
Post a Comment