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
Git Clone URL: | https://aur.archlinux.org/php73.git (read-only, click to copy) |
---|---|
Package Base: | php73 |
Description: | pspell 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.001854 |
First Submitted: | 2019-12-24 17:08 (UTC) |
Last Updated: | 2024-03-27 14:58 (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
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!
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.
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.
Thanks you so much for this one. Can you make apcu available too?
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