While trying to get this working (with httpd), I came across a few things that would be worth including in the package:
- The aforementioned LoadModule
fix.
- Not really sure where to put this, but there should be a conf.d
somewhere?
- The aforementioned ExecStart
fix.
- /etc/httpd/conf/extra/php73_module.conf
incorrectly references the non-existent php73_module
, changing this to php7_module
works like a charm.
- If we want to allow users to run 7.4 and 7.3 in httpd, maybe the .so
file should reference php73_module
?
Search Criteria
Package Details: php73-tidy 7.3.33-12
Package Actions
Git Clone URL: | https://aur.archlinux.org/php73.git (read-only, click to copy) |
---|---|
Package Base: | php73 |
Description: | tidy module for php73 |
Upstream URL: | http://www.php.net |
Licenses: | PHP |
Submitter: | matth |
Maintainer: | matth (el_aur) |
Last Packager: | el_aur |
Votes: | 11 |
Popularity: | 0.001313 |
First Submitted: | 2019-12-24 17:08 (UTC) |
Last Updated: | 2024-05-24 12:36 (UTC) |
Dependencies (56)
- php73AUR
- tidy (tidy-html5-gitAUR)
- acl (acl-gitAUR) (make)
- apache (apache-gitAUR) (make)
- argon2 (argon2-gitAUR) (make)
- aspell (aspell-gitAUR) (make)
- autoconf (autoconf-gitAUR) (make)
- automake (automake-gitAUR) (make)
- bash (bash-devel-static-gitAUR, bash-gitAUR, bash-devel-gitAUR, busybox-coreutilsAUR) (make)
- c-clientAUR (make)
- coreutils (coreutils-gitAUR, busybox-coreutilsAUR, coreutils-hybrid-gitAUR, coreutils-selinuxAUR, coreutils-hybridAUR) (make)
- curl (curl-quiche-gitAUR, curl-http3-ngtcp2AUR, curl-c-aresAUR, curl-gitAUR) (make)
- db5.3 (make)
- e2fsprogs (busybox-coreutilsAUR, e2fsprogs-gitAUR) (make)
- enchant (make)
- findutils (findutils-selinuxAUR, findutils-gitAUR, busybox-coreutilsAUR) (make)
- freetds (make)
- gawk (gawk-gitAUR, busybox-coreutilsAUR) (make)
- gd (gd-gitAUR) (make)
- gmp (gmp-hgAUR) (make)
- Show 36 more dependencies...
Required by (0)
Sources (21)
- debian-php-7.3.33.patch
- fpm-numeric-uid-gid.patch
- fpm-reload-sighup.patch
- https://php.net/distributions/php-7.3.33.tar.xz
- litespeed-phpheader.patch
- make-tests.patch
- mysql-socket-php7.1.patch
- openssl-sslv3-consts.patch
- pear-config-patcher.php
- php-apache.conf
- php-enchant-depr.patch
- php-enchant-php5.3.patch
- php-freetype-2.9.1.patch
- php-icu-php7.3.patch
- php-libxml.patch
- php-makefile-patcher.php
- php-phpinfo.patch
- php71-phar-names.patch
- recode-php5.3.patch
- timezonedb-guess.patch
- timezonedb-php7.3.patch
arnottcr commented on 2020-01-02 06:32 (UTC)
Kalinda commented on 2020-01-01 04:00 (UTC)
That did the trick, thanks!
matth commented on 2020-01-01 02:52 (UTC)
I haven't used Apache in a long time, but I believe you should be able to load it with:
LoadModule php7_module modules/libphp73.so
Kalinda commented on 2019-12-31 23:54 (UTC)
Hello,
Not sure if I'm doing something wrong, but when I try to use the php73 module for Apache, it won't start and I get this error:
httpd: Syntax error on line 190 of /etc/httpd/conf/httpd.conf: Can't locate API module structure `php73_module' in file /etc/httpd/modules/libphp73.so: /etc/httpd/modules/libphp73.so: /etc/httpd/modules/libphp73.so: undefined symbol: php73_module
Any help would be appreciated, thanks!
matth commented on 2019-12-30 16:30 (UTC)
Thanks for the report on php-fpm @tompear I've gone ahead and updated the systemd service file so it points to the correct php-fpm73 binary.
@xchoice it looks like @tompear has created a php73-apcu package so all set there. I don't use apcu myself, so I'm glad someone else grabbed that.
tompear commented on 2019-12-30 12:04 (UTC) (edited on 2019-12-30 12:04 (UTC) by tompear)
For php-fpm users: binary file is /usr/bin/php-fpm73 but in /usr/lib/systemd/system/php73-fpm.service there is:
"ExecStart=/usr/bin/php-fpm --nodaemonize --fpm-config /etc/php73/php-fpm.conf"
So it's nessesery to manually change this line to work.
Thanks to the maintainer.
xchoice commented on 2019-12-29 19:08 (UTC)
Thanks you so much for this one. Can you make apcu available too?
blum commented on 2019-12-27 08:13 (UTC)
God bless you, merry christmas! (Or whatever you like to celebrate :))
Pinned Comments
el_aur commented on 2022-02-02 09:14 (UTC) (edited on 2022-02-04 11:29 (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.3 packages with:el_aur commented on 2022-01-27 12:08 (UTC) (edited on 2022-01-27 15:18 (UTC) by el_aur)
Read Carefully! Breaking changes in compare with native PHP package
Console version
/usr/bin/php73
is installed withphp73-cli
subpackage,php73
doesn't include it anymore!!!PEAR and PECL are available as
php73-pear
andphp73-pecl
subpackagesAll shared modules are respresented as stand-alone subpackages and are not included with
php73
package anymore.No more extensions in php.ini itself!
Separate INI files for each extension are placed in
/etc/php73/conf.d
They are loaded in correct order according to priority