How to emerge different versions , ebuilds of php

5,287

You should find the old ebuild package, it should be in portage directory.

Then, if I remember correctly, the comand to run was "ebuild old-package.ebuild" and it will compile it.

Share:
5,287

Related videos on Youtube

joshbivens
Author by

joshbivens

Updated on September 17, 2022

Comments

  • joshbivens
    joshbivens over 1 year

    I'm trying to compile a lower version of php (5.2) as gentoo is selecting 5.3 and i'm having some coding issues with the new version

    nano /etc/portage/package.use

    =dev-lang/php-5.2.14 ~amd64

    still when I emerge emerge -av php

    is stil selecting version 5.3 which is by default

    how else can I force emerge to select the version I want

    ls /usr/portage/dev-lang/php/ ChangeLog php-5.2.14.ebuild php-5.3.4.ebuild Manifest php-5.2.16.ebuild php-5.3.5.ebuild files/ php-5.2.17.ebuild metadata.xml php-5.3.3-r1.ebuild

  • joshbivens
    joshbivens over 13 years
    yes sorry about that, they are in keywords..
  • joshbivens
    joshbivens over 13 years
    emerge doesn't display any error, no