New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for PHP 7.4 #13
Conversation
Also add 'php72' argument option
+1 |
Doesn't work for me. Still installs PHP 7.2. |
@pxgamer set it as default. 7.4 is already on the way. |
@butaminas, are you installing from my fork (and branch)? Or the main repository? 🤔 This PR hasn't been merged so the official Larasail won't use PHP 7.3 yet. |
It's weird, because I've installed it from your branch. I've seen few times it was doing something with php 7.3 but most of the time it was installing and configuring 7.2. After the installation I did I have now upgraded to php 7.3 manually. I was using Ubuntu 16.04. |
@pxgamer strange. Could it be the 16.04? Or perhaps I messed it up somehow. Yeah, the project seems to be dead, though it is still an awesome tool. Thanks for trying to keep it alive. |
It looks dead indeed. Maybe someone can fork the project and keep it maintained? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PHP 7.3 is not yet available in the default Ubuntu 18.04 repository.
In order for this to work you need to add a stage to install the software-properties-common
package and add the ppa:ondrej/php
repository:
sudo apt-get install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -y php7.3-cli
@bobbyiliev, if we're going to add this, would it be better to just change this to use PHP 7.4 by default, and add |
@bobbyiliev, I've updated this to use PHP 7.4 by default with a Looking at Lines 72 to 75 in ed5a239
ondrej/php repository so I don't think any changes need to be applied on that front?
|
This updates Larasail to use PHP 7.4 as the default version of PHP. It also adds an additional argument (
php73
) for installing PHP 7.3.