You are not logged in.

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

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

[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: 10,195
Website

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

Mod note: moving to AUR Issues


Sakura:-
Mobo: MSI X299 TOMAHAWK ARCTIC // Processor: Intel Core i7-7820X 3.6GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 5x 1TB HDD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Online

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

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

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: 12,211

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: 3

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: 1

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