Conversation
|
Hi @Romeoy, I'm not sure why this would be needed. There should only be one PHP version installed. |
For my case, I just modify and change the php and extensions' version to 8.3. When instaling PHP 8.3, system will automacially create a link file /usr/bin/php, then the command RUN ln -s /usr/bin/php83 /usr/bin/php will be failed. |
|
Can you show me how your Dockerfile looks like so I can better understand your use-case? |
Please check. Thanks. https://github.com/Romeoy/docker-php-nginx/blob/develop/Dockerfile |
|
I get it, but this seems more applicable on your variant of this Docker image than on this version. |
There is already a default php alias for some php version. The code
RUN ln -s /usr/bin/php84 /usr/bin/phpwill be failed, so just adding-farg to make it work well.