You are not logged in.

#1 2021-02-09 07:21:36

AnotherUser
Member
Registered: 2021-02-09
Posts: 9

[Solved] No php74 imagick in AUR | No php7 xdebug in repositories

Hi all.

Next to the new php 8 version, i would like to run an php7(4) installation.
In the aur i can find php74 and extensions, except of imagick.
For php7 i can find all needed extensions except of xdebug.

Am I missing something, or do these packages not exist?

Last edited by AnotherUser (2021-02-09 11:07:14)

Offline

#2 2021-02-09 09:25:49

B3l3tte
Member
Registered: 2016-10-26
Posts: 14

Re: [Solved] No php74 imagick in AUR | No php7 xdebug in repositories

Hello,
Prefer php7 from the extra repo.

To use xdebug with php7 you could try to compile it yourself with ASP :

$ asp update xdebug
$ asp export xdebug

Rename the package name in the PKGBUILD with something like "php7-xdebug"

Then, in the PKGBUILD :

  • replace phpize with phpize7

  • use /etc/php7 as config path

  • use php7 as dependency

Finally run :

$ makepkg -s

Try it and see if it works !

Last edited by B3l3tte (2021-02-09 09:38:31)

Offline

#3 2021-02-09 10:14:41

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: [Solved] No php74 imagick in AUR | No php7 xdebug in repositories

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2021-02-09 11:06:32

AnotherUser
Member
Registered: 2021-02-09
Posts: 9

Re: [Solved] No php74 imagick in AUR | No php7 xdebug in repositories

B3l3tte wrote:

Hello,
Prefer php7 from the extra repo.

To use xdebug with php7 you could try to compile it yourself with ASP :

$ asp update xdebug
$ asp export xdebug

Rename the package name in the PKGBUILD with something like "php7-xdebug"

Then, in the PKGBUILD :

  • replace phpize with phpize7

  • use /etc/php7 as config path

  • use php7 as dependency

Finally run :

$ makepkg -s

Try it and see if it works !


Following command did not copy the xdebug.so into /usr/lib/php7/modules/xdebug.so, what I have caught up.

$ makepkg -s

Anyway, now it works with both extensions - thank you!

Offline

#5 2021-02-09 11:40:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [Solved] No php74 imagick in AUR | No php7 xdebug in repositories

You aren't supposed to copy that file manually but install the resulting package with pacman -U or use makepkg -si from the getgo

Offline

#6 2021-02-09 11:55:50

AnotherUser
Member
Registered: 2021-02-09
Posts: 9

Re: [Solved] No php74 imagick in AUR | No php7 xdebug in repositories

V1del wrote:

You aren't supposed to copy that file manually but install the resulting package with pacman -U or use makepkg -si from the getgo

Good to know - should read more docs..
Thank you too smile

Offline

#7 2021-02-25 12:37:56

pedrocarvalho
Member
Registered: 2021-02-25
Posts: 2

Re: [Solved] No php74 imagick in AUR | No php7 xdebug in repositories

thanks for pertinent question and clear responses !

Offline

Board footer

Powered by FluxBB