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

Add php core extensions fileinfo, pdo_mysql #18

Open
open-forest opened this issue Jan 2, 2021 · 3 comments
Open

Add php core extensions fileinfo, pdo_mysql #18

open-forest opened this issue Jan 2, 2021 · 3 comments

Comments

@open-forest
Copy link

And thanks so much for this great tool!

@leonstafford
Copy link
Contributor

Thanks @open-forest! It's about to get a lot cooler :)

Will get those in soon. If you're in urgent need, think something like apk add php7-fileinfo will work for both, with the pdo_mysql requiring a php.ini to have that related line uncommented, too. I can't remember if current Lokl version offers the menu option to SSH into the container, but that will definitely be available in next release.

@open-forest
Copy link
Author

open-forest commented Jan 2, 2021

The apk command works fine. apk add php7-fileinfo and apk add php7-pdo_mysql. No php.ini modifications needed; I did restart the docker image after installing, and then everything worked fine.
I can confirm that lokl works like a breeze in the Linux container of my Pixel Slate Chromebook. It took a couple of minutes to figure out how to install Docker on the Chromebook, then how to make docker executable by a non-root user, and then how to access localhost:4123 from the Chrome browser (http://penguin.termina.linux.test:4123 did the trick). Brilliant setup!

@leonstafford
Copy link
Contributor

@open-forest, cool! Didn't read before that you'd got it running in a that Chromebook Pixel Slate - how do you find it for typing/working on? I haven't run a tablety thing since a Surface Pro, but found them hard to balance on my lap on a sofa, in my terribly unergonomic position :D

I just run a new php7 image with that change to Dockerfile and all good now. fileinfo was available on both my 7 and 8 images already, but those were likely updated quite a lot since what's still the stable release on webpage. Doing an extra check to make sure pdo_mysql is enabled for the PHP 8 image now, but should be fine.

Almost where I want to be to put new release of all this out there publicly, but also don't want to rush it...

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

2 participants