Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
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 freswa (frederik) - Wednesday, 01 July 2020, 20:37 GMT
Opened by Stève Oriol (steveoriol) - Wednesday, 01 July 2020, 14:24 GMT
Last edited by freswa (frederik) - Wednesday, 01 July 2020, 20:37 GMT
|
DetailsDescription: 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