On Aug 10, 2012, at 12:52 AM, Marcin Cieslak wrote:

> It could be improved to check for curl and bcmath (the ones I found
> out are needed) on startup, not during some other command
> after other succeded (unless of course the extension is needed
> only for some specific operation not applicable to general public).

We should be checking for curl on startup (and a few other things -- namely 
JSON and a reasonable PHP version). Was this not your experience? The 
expectation is that you'll receive this error if curl is not installed:

  $ arc

  PHP CONFIGURATION ERRORS

  You need to install the cURL PHP extension, maybe with 'apt-get install 
php5-curl' or 'yum install php53-curl' or something similar.

bcmath is used only to encode binaries in base85 for git patches when you 
generate, apply or export a changeset that includes binaries to a git patch 
format or working copy, but we're definitely not doing a good job of managing 
this dependency right now; I filed https://secure.phabricator.com/T1635 to 
track it. Thanks!

Evan
_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to