I had to modify /etc/httpd/conf/extra/php72-module.conf
It starts as:
<IfModule dir_module>
<IfModule php_module7>
DirectoryIndex index.php index.html
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
</IfModule>
</IfModule>
and I changed it to
<IfModule dir_module>
<IfModule php_module7>
</IfModule>
</IfModule>
DirectoryIndex index.php index.html
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
which just moves it out of the modules, and then it started working (after trying a bunch of other things) There are other changes that could be made in /etc/httpd/conf/httpd.conf
Pinned Comments
el_aur commented on 2022-02-03 18:56 (UTC) (edited on 2022-02-04 11:28 (UTC) by el_aur)
Created binary repository on build.opensuse.org
https://build.opensuse.org/project/show/home:el:archphp
For Arch Linux, edit /etc/pacman.conf and add the following (note that the order of repositories in pacman.conf is important, since pacman always downloads the first found package):
Then run the following as root
Refresh packages database
Now search for php packages you need:
Install with
pacman -S
packages you need or all PHP 7.2 packages with:el_aur commented on 2022-01-27 12:11 (UTC) (edited on 2022-01-27 15:19 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php72
is installed withphp72-cli
subpackage,php72
doesn't include it anymore!!!PEAR and PECL are available as
php72-pear
andphp72-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php72
package anymore.No more extensions in php.ini itself!
Separate INI files for each extension are placed in
/etc/php72/conf.d
They are loaded in correct order according to priority