I am working on Laravel project where one of its packages require PHP 7.0 version. Currently, I have installed latest version but now I want to downgrade it to 7.0. How should I do this? Is it possible with command line or do I need to change PHP files manually? I tried to find this topic on google also on StackOverflow but can't find any solution for this problem
I found one solution here but unable to implement that
here is the link I tried
This is the error I get with 7.1 version
Function mcrypt_module_open() is deprecated
Related
I created a LAMP stack instance on Google Cloud Platform, launched with PHP 7.0, I need Laravel installed so I installed PHP 7.2 from the SSH console (debian).
While using php -v it shows that the current installed version is 7.2 while the vm instance informations shows that it's still using 7.0 instead and also the Laravel script is not working because I suppose PHP 7.0 is still in use.
I already found ways on how to require using a different version on App Engine, but I need this for Compute Engine (LAMP stack on debian 9).
Thanks.
Be sure to upgrade PHP to 7.2 after installing it. You can follow the guide over here to find the steps needed to do this.
Hope you find this helpful.
I have changed php version to 7.1.3 and also Laravel version in composer.json file. Then simply use composer update but nothing happens. I need help.
PHP 7.1 will no longer be actively maintained as of December 2019. Therefore, Laravel 6.0 requires PHP 7.2 or greater.just follow the documentation https://laravel.com/docs/6.x/upgrade
The company hosting my website (which was developed with Laravel 5.4 and PHP 5.6) mandate a change to PHP 7.3, this has been done but I got an error; and I have to switch back to PHP 5.6 to maintain the site up and running.
I want to know if scripts developed in Laravel 5.4 are compatible with PHP 7.3
You can check PHP 7.3 compatibility of Laravel here: https://github.com/laravel/framework/issues/27052
Your dependencies must be causing the problem, you need to downgrade them running the composer update command on a terminal that has PHP version 5.6 in it, you can check the version with: php -v. Once they are updated, you may upload your project again to the server that's running PHP 7.3
I believe that I have followed all the steps in this tutorial:
https://ourcodeworld.com/articles/read/349/how-to-install-and-enable-the-imagick-extension-in-xampp-for-windows
I know that it worked with an earlier version of XAMPP.
However, with this version no imagick module shows up. The only strange thing I noticed was that my PHP version is 7.2.4 but there is no correstponding version on
https://pecl.php.net/package/imagick/3.4.3/windows
So I tried both 7.1 and 7.0 with no success. Maybe someone knows where to get the appropriate php_imagick.dll or what else might be wrong.
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