Search Criteria
Package Details: php-mailparse 3.1.6-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/php-mailparse.git (read-only, click to copy) |
---|---|
Package Base: | php-mailparse |
Description: | Extension for parsing and working with email messages (RFC822 and RFC2045) |
Upstream URL: | https://pecl.php.net/package/mailparse |
Licenses: | PHP |
Submitter: | None |
Maintainer: | Le_suisse |
Last Packager: | Le_suisse |
Votes: | 7 |
Popularity: | 0.000001 |
First Submitted: | 2011-03-09 20:29 (UTC) |
Last Updated: | 2024-01-15 19:50 (UTC) |
Latest Comments
mklein994 commented on 2024-01-15 19:40 (UTC)
I get an error after upgrading to PHP 8.3:
It seems that bumping the version to 3.1.6 fixes it.
nursoda commented on 2023-02-02 22:09 (UTC)
Thanks, J5lx! Took a while, but here it is: For all out there that run Nextcloud or other servers that cannot use php (latest version) and thus run php-legacy (oldest fully supported version) AND need php-mailparse (e.g. using https://apps.nextcloud.com/apps/files_frommail , yes, still works with NC26 if you dare), there's a php-mailparse extension package for php-legacy now:
https://aur.archlinux.org/packages/php-legacy-mailparse
J5lx commented on 2023-01-20 10:07 (UTC)
nursoda, PHP extensions are always built against a specific version of PHP, and you should not resort to symlink hackery to coax this package into building against a different version than it’s supposed to. What you want to do instead is to create a separate package “php-legacy-mailparse”. That package would then use phpize-legacy instead of phpize, and of course you would also need to adjust the dependencies and file paths in the PKGBUILD to refer to php-legacy instead of the regular php package.
nursoda commented on 2023-01-19 22:09 (UTC) (edited on 2023-01-20 02:11 (UTC) by nursoda)
Can I use php-mailparse with php-legacy? How?
php-mailparse might depend on php|php-legacy…but: How to compile against the php-legacy version and not the php version?
So I tried to remove all php packages, install corresponding php-legacy packages, install lacking php-legacy-sodium and symlink corresponding files and directories (/etc: php-legacy→php, /usr/bin: php-legacy→php, php-config-legacy→php-config, php-fpm-legacy→php-fpm, phpize-legacy→phpize; /usr/lib: php-legacy→php; /usr/include: php-legacy/php→php).
But even that way, the build process stopped at not finding /usr/include/php/Zend/zend_atomic.h and /usr/include/php/ext/random/php_random.h.
pacman -F yields that zend_atomic.h is part of php but not of php-legacy. php_random.h is part of both, but quite different. Touch'ing them lets the build finish, but it does not work.
Le_suisse commented on 2021-01-29 15:01 (UTC)
Yes it is. You might have to re-install the extension if you did the install before upgrading to PHP 8.
nursoda commented on 2021-01-29 00:43 (UTC)
Is this compatible with php 8.0?
vinilox commented on 2014-04-10 07:04 (UTC)