You are not logged in.
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
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
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
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
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
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
Offline
thanks for pertinent question and clear responses !
Offline