t***@sys-concept.com
2023-04-16 01:00:01 UTC
php-7.4 will be getting obsolete in the future and converting my code to php-8 might not be easy.
So I want to make a binary of the current dev-lang/php-7.4.33-r2 just in case in the near future they will pull out the old version out of the portage.
Will making binary allow me to install dev-lang/php-7.4.33-r2 (binary) with future upgrades (after PHP-7.4 is gone from the portage)?
Do I need to make binary of packages dev-lang/php-7.4 depends on?
equery d dev-lang/php
* These packages depend on dev-lang/php:
dev-db/phpmyadmin-5.2.1 (dev-lang/php[ctype,filter,json(+),session,ssl,unicode])
(dev-lang/php[mysqli])
(dev-lang/php[mysql])
media-libs/libvpx-1.12.0-r1 (doc ? dev-lang/php)
virtual/httpd-php-7.4 (dev-lang/php:7.4[fpm])
(dev-lang/php:7.4[apache2])
(dev-lang/php:7.4[cgi]
Step to make PHP-7.4 binary (am I missing anything)?
1. add package to: /etc/portage/package.use
echo " dev-lang/php mysql mysqli gd" >> /etc/portage/package.use
2.) emerge --buildpk dev-lang/php
3.) The binary package file will be created in the /usr/portage/packages directory.
4.) To install the binary package on another Gentoo system, copy the .tbz2 file to the other system's /usr/portage/packages directory and run the following command:
emerge --usepkg dev-lang/php
Am I missing anything?
So I want to make a binary of the current dev-lang/php-7.4.33-r2 just in case in the near future they will pull out the old version out of the portage.
Will making binary allow me to install dev-lang/php-7.4.33-r2 (binary) with future upgrades (after PHP-7.4 is gone from the portage)?
Do I need to make binary of packages dev-lang/php-7.4 depends on?
equery d dev-lang/php
* These packages depend on dev-lang/php:
dev-db/phpmyadmin-5.2.1 (dev-lang/php[ctype,filter,json(+),session,ssl,unicode])
(dev-lang/php[mysqli])
(dev-lang/php[mysql])
media-libs/libvpx-1.12.0-r1 (doc ? dev-lang/php)
virtual/httpd-php-7.4 (dev-lang/php:7.4[fpm])
(dev-lang/php:7.4[apache2])
(dev-lang/php:7.4[cgi]
Step to make PHP-7.4 binary (am I missing anything)?
1. add package to: /etc/portage/package.use
echo " dev-lang/php mysql mysqli gd" >> /etc/portage/package.use
2.) emerge --buildpk dev-lang/php
3.) The binary package file will be created in the /usr/portage/packages directory.
4.) To install the binary package on another Gentoo system, copy the .tbz2 file to the other system's /usr/portage/packages directory and run the following command:
emerge --usepkg dev-lang/php
Am I missing anything?
--
Thelma
Thelma