Skip to content
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

PHP 8 Support #148

Open
jkque opened this issue Nov 27, 2020 · 6 comments
Open

PHP 8 Support #148

jkque opened this issue Nov 27, 2020 · 6 comments

Comments

@jkque
Copy link

jkque commented Nov 27, 2020

Description

Not a bug but just asking if you will support php 8 thanks @fideloper

@fideloper
Copy link
Contributor

Yep, will be working on that soon enough!

@jkque
Copy link
Author

jkque commented Nov 27, 2020

thanks @fideloper 🎉🎉🎉

@aftab-rfg
Copy link

@fideloper thanks for such a nice little utility, I am wondering if php 8 support has been added yet?

@fideloper
Copy link
Contributor

fideloper commented Oct 4, 2021 via email

@aftab-rfg
Copy link

I already tried Laravel sail, but I thought vessel was a bit more flexible and can easily be customised. If that's not the case then I will revert back to that :-)

Thanks

@mckaygerhard
Copy link

mckaygerhard commented Sep 2, 2023

@fideloper the php version can be manage by a ENV variable.. this containerized solution is pretty great and server many other things apart of larashit!

there are some ways:

  • by a sed substitution of "7.4" string and "FROM" by example we set PHP_VER=8 (php 8.1) then the vessel can sed the "FROM" and change from FROM ubuntu:20.04 (that ships 7.4 php) to FROM ubuntu:22.04 (that ships 8.1 php) or PHP_VER=L that sed to FROM ubuntu:24.04 (soon to be releasesd).. **this measn that even use php7.4-pgsql php7.4-sqlite3 in package names you can also use php-pgsql php-sqlite that exists and defauts internally to such respective versions
  • by a specific Dokerfile files for each version and use softlyns .. the PHP_VER=8 internally in the vessel will just link the respective dockerfile that provide the respective php version.. by example if we have PHP_VER=8 , the vessel must have docker/app/Dockerfile-php8 and then just softlink (ln -s) docker/app/Dockerfile-php8->docker/app/Dockerfile

we can just pass or configure the php version as PHP_VER=8 for php 8.1, PHP_VER=7 for php 7.4 or PHP_VER=L for 8.2 (winbuntu lasted, cos i gues you will use LTS only) and use respective winbuntu image in the docker-files/docker/app/Dockerfile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants