You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when starting a shell in the resulting container there is no bin/php symlink or a PATH pointing to it.
How to nicely make that available? I suspect the php-with-extensions is the preferred one.
In line with this, what is the intended way of running for instance the phpfpm example in shell mode?
Seems that "activate" needs to populate the filesystem first.
Gr, J
The text was updated successfully, but these errors were encountered:
The shell mode cannot nicely run php-fpm as you found. environment.systemPackages will add it to PATH. But also you must use a login shell. So /bin/sh -l. Whether to add or not to add (to global PATH) is still a question I have not solved.
Hi,
When building the phpfpm example as docker image, I see the php cli included in /nix.
/nix/store/ppmh7fh74ywsypabp613xip0c0dhn7vz-php-8.0.29/bin/php
/nix/store/kayqcnlwcmmacy6pbz0x7h07agd5p44q-php-with-extensions-8.0.29/bin/php
But when starting a shell in the resulting container there is no bin/php symlink or a PATH pointing to it.
How to nicely make that available? I suspect the php-with-extensions is the preferred one.
In line with this, what is the intended way of running for instance the phpfpm example in shell mode?
Seems that "activate" needs to populate the filesystem first.
Gr, J
The text was updated successfully, but these errors were encountered: