FS#67166 - [php] symbolic links on the executable (bin) ?

Attached to Project: Arch Linux
Opened by Stève Oriol (steveoriol) - Wednesday, 01 July 2020, 14:24 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:23 GMT
Task Type Feature Request
Category Packages: Core
Status Closed
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: create symbolic links on the executable (bin) so that it is easier to change version of php when you need to change version of PHP (CLI)

example:
imagine that you also have PHP version 7.2 (AUR)
you have :
/usr/bin/php
/usr/bin/php72
/usr/bin/php-config
/usr/bin/php-config72
/usr/bin/php-fpm
/usr/bin/php-fpm72
/usr/bin/phpize
/usr/bin/phpize72

is it possible to modify for:
/usr/bin/php74
/usr/bin/php72
/usr/bin/php-config74
/usr/bin/php-config72
/usr/bin/php-fpm74
/usr/bin/php-fpm72
/usr/bin/phpize74
/usr/bin/phpize72

and add symbolic links like:
/usr/bin/php >> /usr/bin/php74
/usr/bin/php-config >> /usr/bin/php-config74
/usr/bin/php-fpm >> /usr/bin/php-fpm74
/usr/bin/phpize74 >> /usr/bin/phpize74

So we can easily switch from one version to another, easily and without deleting the executable file, just by repoiting the 4 symbolic links ...



This task depends upon

Closed by  Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:23 GMT
Reason for closing:  Moved
Additional comments about closing:  https://gitlab.archlinux.org/archlinux/p ackaging/packages/php/issues/1
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.

Loading...