I have php 5 and 7 for 5 mailparse is already installed
I go to package software but it just keeps telling me that is installed already
how to installk php-pecl-mailparse for php 7 ?
Hi, check if this helps, its for PHP 7 specifically
Thanks I am using centos 7
I want to install from software package ! Not possible?
I do not see this package available for php7, but you can check here
I do not know how to use that?
The module is available from Remi repository. My guess is remi-safe is where you got PHP 7 and Remi repos are already installed on your server. So when yum says mailparse is already installed could it be you are querying PHP 5 instead of 7?
For PHP 7 see if this comes up available:
yum info php7x-php-pecl-mailparse
And if this comes up installed for global/system PHP 5:
yum info php-pecl-mailparse
Yes you are right it is says already installed because it is querying php5 instead of 7
when I do
yum info php7x-php-pecl-mailparse
I get
https://pastebin.com/raw/c0y5CZTp
and when I do
yum info php-pecl-mailparse
I get
https://pastebin.com/raw/WhrWbgPw
I am lost what should I do now?
I’ve never seen that before. Are you using a shell on a tablet or smartphone with Pastebin installed?
Also, “php7x” was meant to be an example – replace “7x” with the actual version. e.g.,
yum info php74-php-pecl-mailparse
should output this
Available Packages
Name : php74-php-pecl-mailparse
Version : 3.1.0
Release : 1.el8.remi
Architecture : x86_64
Size : 44 k
Source : php74-php-pecl-mailparse-3.1.0-1.el8.remi.src.rpm
Repository : remi-safe
Summary : PHP PECL package for parsing and working with email messages
URL : https://pecl.php.net/package/mailparse
License : PHP
Description : Mailparse is an extension for parsing and working with email
: messages. It can deal with rfc822 and rfc2045 (MIME) compliant
: messages.
:
: Package built for PHP 7.4 as Software Collection (php74 by remi).
Yes I did
but I get
Error: No matching Packages to list
I guess it’s possible you don’t have Remi repos after all. What about the EPEL repo? yum repolist enabled
and yum repolist disabled
will show you.
Or from Webmin/System/Software Package Updates and the Package Repositories tab. On that page there’s a list of enabled/disabled repos as well as a form for installing others if you’d rather not do it in a terminal.
As a general rule be careful with third-party repositories, plus Virtualmin staff can’t be expected to support them. Remi’s is called “remi-safe” for a reason.
Head over to https://blog.remirepo.net/pages/Config-en for info and instructions for CentOS 7. The configuration wizard covers most of it.
No problem I gave up and deleted the vps , It seems virtualmin is for those who are knowledgeable not for me. thanks any way.
Update: I can see in other post you call me idiot . If you are a virtualmin staff and this is the way you call people who do not know and come to this forum for help then I am glad I left.
The post has been removed. I should not have called you an idiot and perhaps what I meant to say is that the method of our interaction was idiotic. I blame myself for it as much as anyone else, since we did not elicit and you did not offer sufficient info for anyone to be able to help you effectively.
I do apologise.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.