Package Details: php74-dom 7.4.33-9

Git Clone URL: https://aur.archlinux.org/php74.git (read-only, click to copy)
Package Base: php74
Description: dom module for php74
Upstream URL: http://www.php.net
Licenses: PHP
Submitter: tompear
Maintainer: el_aur
Last Packager: el_aur
Votes: 11
Popularity: 0.000789
First Submitted: 2021-01-31 11:48 (UTC)
Last Updated: 2024-07-25 13:43 (UTC)

Pinned Comments

el_aur commented on 2022-01-27 12:06 (UTC) (edited on 2022-02-01 21:33 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

  1. Console version /usr/bin/php74 is installed with php74-cli subpackage, php74 doesn't include it anymore!!!

  2. PEAR and PECL are available as php74-pear and php74-pecl subpackages

  3. All shared modules are respresented as stand-alone subpackages and are not included with php74 package anymore.

  4. No more extensions in php.ini itself! Separate INI files for each extension are placed in /etc/php74/conf.d They are loaded in correct order according to priority

  5. Modules: mysqlnd, mysqli and pdo_mysql are moved to single package php74-mysql

  6. php74-xsl requires php74-xml and php74-dom to be installed

  7. php74-enchant build with dependencies: libvoikko, hspell, hunspell, nuspell, aspell

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 11 Next › Last »

voidspawn commented on 2022-02-01 10:36 (UTC) (edited on 2022-02-01 10:37 (UTC) by voidspawn)

look like the newest update broken xsl

PHP Warning:  PHP Startup: Unable to load dynamic library 'xsl.so' (tried: /usr/lib/php74/modules/xsl.so (/usr/lib/php74/modules/xsl.so: undefined symbol: php_dom_create_object), /usr/lib/php74/modules/xsl.so.so (/usr/lib/php74/modules/xsl.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Class 'DOMDocument' not found

i install a few packages that just works, but the xsl.so don't

aur/php74-xdebug 3.1.1-1 (+0 0.00) (Installed)
aur/php74-mcrypt 1.0.4-3 (+2 0.00) (Installed)
aur/php74-pdo 7.4.27-6 (+5 0.87) (Installed)
aur/php74 7.4.27-6 (+5 0.87) (Installed)
aur/php74-openssl 7.4.27-6 (+5 0.87) (Installed)
aur/php74-xsl 7.4.27-6 (+5 0.87) (Installed)
aur/php74-mysql 7.4.27-6 (+5 0.87) (Installed)
aur/php74-xml 7.4.27-6 (+5 0.87) (Installed)
aur/php74-iconv 7.4.27-6 (+5 0.87) (Installed)
aur/php74-cli 7.4.27-6 (+5 0.87) (Installed)
aur/php74-intl 7.4.27-6 (+5 0.87) (Installed)
aur/php74-gd 7.4.27-6 (+5 0.87) (Installed)
aur/php74-fpm 7.4.27-6 (+5 0.87) (Installed)
aur/php74-soap 7.4.27-6 (+5 0.87) (Installed)
aur/php74-curl 7.4.27-6 (+5 0.87) (Installed)
aur/php74-apache 7.4.27-6 (+5 0.87) (Installed)

i am using Manjaro and i did try the comment with the yay -Rnsc and remove it all and reinstall it all, still a problem, what am i missing here ?? PS: the file is in the usr lib php74 modules folder

tompear commented on 2022-02-01 09:06 (UTC)

This is funny but on my second system (Manjaro) there was some more failed tests. But there is what i did on it (i am using yay as my wrapper for pacman):

yay -Rnsc php74
yay -Sc --aur
yay -S php74

And voila, all is OK.

el_aur commented on 2022-02-01 08:43 (UTC)

Updated build. Disabled failing test and sendmail check

hoax commented on 2022-01-31 10:10 (UTC)

@tompear thanks but didn't work for me, still the same error.

tompear commented on 2022-01-31 09:43 (UTC)

@hoax try to uninstall existing version of php74 and install it again. I did it and all tests were done as expected and installation finished properly. I dont know why this one test were failing again and again.

Make copy of /etc/php74, if you uninstall php74 some files will be removed so if you dont want to configure all from the beginning copy it. Reconfiguration didnt take much time.

hoax commented on 2022-01-31 08:51 (UTC)

can confirm tompear's build issue.

why exactly were those structural changes necessary?

el_aur commented on 2022-01-27 21:28 (UTC)

@continum mysqli, pdo_mysql are combined to singe php74-mysql subpackage

continum4 commented on 2022-01-27 19:07 (UTC)

What happened to mysqli?, it is not available in the modules.

el_aur commented on 2022-01-27 12:06 (UTC) (edited on 2022-02-01 21:33 (UTC) by el_aur)

Read Carefully! Breaking changes in compare with native PHP package

  1. Console version /usr/bin/php74 is installed with php74-cli subpackage, php74 doesn't include it anymore!!!

  2. PEAR and PECL are available as php74-pear and php74-pecl subpackages

  3. All shared modules are respresented as stand-alone subpackages and are not included with php74 package anymore.

  4. No more extensions in php.ini itself! Separate INI files for each extension are placed in /etc/php74/conf.d They are loaded in correct order according to priority

  5. Modules: mysqlnd, mysqli and pdo_mysql are moved to single package php74-mysql

  6. php74-xsl requires php74-xml and php74-dom to be installed

  7. php74-enchant build with dependencies: libvoikko, hspell, hunspell, nuspell, aspell

pfrenssen commented on 2022-01-26 21:32 (UTC)

@el_aur There has been a big overhaul of the way PHP 7.4 needs to be installed, and many things work differently now. Would it be possible to publish a list of breaking changes?