I am using Drush to update modules. When I run the command php -v it correctly shows I am running version 5.5  I then use the command drush rf followed by drush up to perform any updates.  I am using the Schema.org Metatag module which requires php version 5. The website is running php version 5.5.37  The default CLI version on Hostgator shared server is 5.4.45. That is what I was originally using for drush. When I received the message below I found the path to use php 5.5 but I am still getting the same message. So I can't figure out how it still sees php ver 5.4.45 and how to resolve this so it doesn't keep disabling that module.  When Drush runs an update I get the following message: Schema.org Metatag requires at least PHP 5.5. (Currently using PHP   [warning] 5.4.45)  And then it disables the Schema Metatag module.  NOTE: When I run command drush status: PHP configuration: opt/php55/lib/php.ini Drush version is 8.1.11  Thanks  Extra information  .bash_profile  PATH=$PATH:$HOME/bin  export PATH  alias composer="/opt/php55/bin/php ~/bin/composer.phar"  alias drush="/opt/php55/bin/php ~/.composer/vendor/bin/drush.php"    .bashrc   alias php='/opt/php55/bin/php'   alias composer='/opt/php55/bin/php ~/bin/composer'  export DRUSH_PHP='/opt/php55/bin/php'     php -v returns PHP 5.5.37  which php doesn't return anything  drush status returns PHP configuration /opt/php55/lib/php.ini    But, when I use Drush to update a module I still get: Schema.org Metatag requires at least PHP 5.5. (Currently using PHP [warning] 5.4.45)
I'm running Drush on a host that has multiple versions of PHP installed. By default, php --version would give you 5.2.x, but php53 and php54 are also available. So in my .bash_profile I have alias php='php53' (php --version = 5.3.13), which makes Drush work for some commands.  However, I still get "Your command line PHP installation is too old. Drush requires at least PHP 5.3.2" messages for some very useful commands.  A couple of really annoying instances:   drush pm-update will report that it has backed up and then updated all modules and core successfully, then return the PHP version error and restore all backups. In verbose mode, the command that comes before the error is: php /home/[username]/drush/drush.php  --backend=2 --verbose --root=/home/[username]/webapps/drup --uri=http://[domain name]  pm-updatecode-postupdate 2&gt;&amp;1 drush archive-dump will immediately return the PHP version error   The other commands I have tried so far work fine. I'm not sure why this would be, if Drush is sometimes using the php53 binary, and other times not, or if it just has trouble detecting the version correctly, but some very important features are broken for me.
What is the difference between ref and out parameters in .NET? What are the situations where one can be more useful than the other? What would be a code snippet where one can be used and another can't? How can you programmatically tell an HTML SELECT to drop down (for example, due to mouseover)? How to use enum values in f:selectItem(s) Background image shows in front of 3D objects, not behind them. I've done a quick 3D track in blender and I'm trying to render my output, but the plate I used to track is showing up over my 3d objects.  I want to render the objects in the scene with an alpha channel and comp them over the plate I tracked. My renders however, are covered by the aforementioned plate.  Un-checking "Background Images" in the camera properties (only removes it from the viewport) isn't doing it for my render outputs.  Working on some production tests and am not really proficient with the software yet, my apologies in advance. Proof Verification: Converse of Intermediate Value Theorem Convert bytes to a string Determine Whether Two Date Ranges Overlap Given two date ranges, what is the simplest or most efficient way to determine whether the two date ranges overlap?  As an example, suppose we have ranges denoted by DateTime variables StartDate1 to EndDate1 and StartDate2 to EndDate2. Are C-style macro names subject to the same naming rules as identifiers?  After a compiler upgrade, it is now emitting this warning for a legacy application:  warning #3649-D: white space is required between the macro name "CHAR_" and its replacement text   #define         CHAR_&amp;        38   This line of code is defining an ASCII value constant for an ampersand.  #define   DOL_SN        36 #define   PERCENT       37 #define   CHAR_&amp;        38 #define   RT_SING       39 #define   LF_PAR        40   I assume that this definition (not actually referenced by any code, as far as I can tell) is buggy and should be changed to something like "CHAR_AMPERSAND"? I am aware of the die() command in PHP which exits a script early.  How can I do this in Python? Character vs Charm - Pronunciation Is there a rule to understand how the group "Cha" has to be pronounced?  "Character" sounds with a hard first syllable, while "Charm" sound softer, but I don't find how to tell which sound to use before earing someone saying the word. It could be because of the double consonant "rm" vs "ra"? Or is it just a matter of knowing the rule for every single word?  EDIT: More specifically, let's talk about UK English pronunciation. Do indexes work with "IN" clause Non-interleaved vertex buffers DirectX11 Reference: Why are my "special" Unicode characters encoded weird using json_encode? How do you check the windows version in Win32 at runtime? How do you check the windows version in Win32 at runtime? Where in the file system are applications installed? I have installed a few Android applications both with the adb install MyApplication.apk command and via a webserver (like an alternative to Android Market).  But where in the Android file system on my phone is the MyApplication.apk file placed? Are applications installed with adb install not placed in the same directory as applications downloaded from the Market?  I found some applications on /system/app but I can't recognize them as some downloaded from Android Market or the one I have installed with adb install.  Where on the system is applications that I have installed located?  My phone is not rooted, and I am running Nexus One with Android 2.2.1. So I have some ISO stock options (yeah) and three kids in college (boo) so I'm trying figure out the best tax strategy. I was hoping someone help me through the following scenario  Strike Price: $10, 2014 exercise price: $20, 2015 price: $25, 2016 price $30   Lets' assume that all of this happens 2+ years after the grant date and that my "normal" tax bill is right on the brink of the AMT threshold, that the AMT tax rate is 28% and the long term capital gains tax is 15%.   Now I want to run the following scenario  2014: exercise 1000 options 2015: exercise 1000 options, sell the previous years' option after "one year and one day" 2016: sell the 2015 options after "one year and a day"    Tax wise that would look like this  2014: AMT on $10000 of bargain element so $2800 AMT 2015: AMT on $15000 bargain element $4200, long term gain tax on $15000 = $2250 2016: long term gain tax on $20000 = $3000    What's the overall tax liability in each year? I can't figure out how the AMT carries forward when the options are finally sold.   Any good pointers to modeling software, spreadsheets or decent papers would also be appreciated. Who was the piano player that Starbuck met in the bar on Galactica? Towards the end of season four, Starbuck meets a piano player in the makeshift bar on Galactica.  Now, it appears that this guy is some kind of ghost/angel like Caprica-6 and the ghost Baltar - but I have an idea that he could also be the original copy of the seventh model (Daniel). It's mentioned right in the episode before that Cavil poisoned all of the bodies that were being prepared to accept a copy of Daniel - but it's ambiguous about the fate of the original cylon with that personality. Daniel was also mentioned as an 'artist' and 'sensitive' person.  So - could it have been Daniel that helped Starbuck realise what the music meant? Does every non-trivial subgroup of $S_9$ containing an odd permutation necessarily contain a transposition?    Here $S_9$ denotes the group of all permutations (i.e. bijections with itself) of the set $\{1,2, \ldots, 9 \}$ under the binary operation of composition of functions.   By a transposition is meant a permutation that leaves all elements except two fixed, mapping either of these two onto the other.   A permutation can only be expressed either as a product of an even number of transpositions or as a product of an odd number of transpositions (but not both) and as such is defined to be even or odd, respectively.   Reference: Fraleigh p. 95  Question 23d. in A First Course in Abstract Algebra "Dare" with and without "to" To my surprise, there's a missing question about this particularly interesting verb, dare. All I know about it is the fact it can be in two forms, as an auxiliary (without to: "I dare not mention their names") and main (with to: "Did anyone dare to admit it?") verb and the difference has something to do with agreeing with subject. Can somebody explain in a greater detail? Cross-platform space remaining on volume using python I need a way to determine the space remaining on a disk volume using python on linux, Windows and OS X. I'm currently parsing the output of the various system calls (df, dir) to accomplish this - is there a better way?