I'm trying to downgrade PHP version from 5.6 to 5.5 on Ubuntu 16.10.
After all the research I've done, the main repository from Ondrej,
does not include 5.5 version anymore. none of the other repositories I try'ing to install contain PHP 5.5.
Does anyone know a solution for this?
Tnx
you need to downgrade your ubuntu or else you need to use php 7, php 5.5 is outdated for ubuntu 16.04
Related
Facing issue after downgrade the PHP version with updated version of composer,
I am trying to doing upgrade PHP or use Composer 2.2 LTS via "composer self-update --2.2 which option is given by CMD.
I tried myself with downgrade the PHP version using the Command of brew but I tried to get the solution for composer, Either it's possible to downgrade or upgrade the version of composer same like PHP.
Has anybody been able to successfully downgrade the php version preinstalled with the macOS High Sierra server app?
Preinstalled PHP version is 7 but I'm running some old PHP apps that require PHP version 5.
I can't find any recent answers on the topic.
Can anybody help?
I do not recommend downgrading the version, I would install PHP 5.6 using homebrew and then just having both versions installed.
brew install php56
This will be symlinked from /usr/local/Cellar/php56 into /usr/local/bin and as long as this in in your $PATH then you should be able to use PHP 5.6 without overriding 7
I have different versions of xampp installed in my windows 10 pc . Recently i installed xampp having php version 5.6.x as i have to work on projects requiring php version >= 5.6. I also have composer installed which currently uses
php version 5.4.x of xampp installed before.
My question is how can i make composer use this new version php 5.6 when creating and downloading packages which require minimum of php 5.6. Currently when i try to install packages requiring 5.6 it's giving me error this package requires php >=5.6 but your PHP version (5.4) does not atisfy that requirement.
Thanks in advance
I checked the PATH variable and it contains:
C:\Program Files (x86)\ProccessMaker\Php; C:\xampp\php;
So... maybe you have another program installed with PHP.
I was installed XAMPP with php version 5.3.
Now i install newer XAMPP with php 7.1
I check php version on localhost is 7.1 but when i check it on terminal with command php -v then it show php 5.3.
So, How can i disable php version 5.3 and use only 7.1?
I use OSX 10. Thank you!
If you are using XAMPP as a server then the other version of PHP doesn't matter. XAMPP will use the version it installed
I have wampserver 2.5 installed on my machine which has PHP 5.5.12
But I need to setup and application which is built in PHP 5.2. So how do I use this 5.2 version of PHP?
To get that far back in history, you may find it easier to install one of the old WampServer 2.2 releases.
You can find the old releases here
There is a special extension to WampServer 2, which will let you install PHP 5.2.11 in your WampServer.
Here's the download link: WampServer Extension for PHP 5.2.11
WampServer Extension for PHP 5.2.11 - is not the best solution, as you could get compatibility error error image.
Better to use RiggsFolly solution and install older wamp version.