MRatWork Forum by Mustafa Ramadhan - install pecl mailparse untuk mail piping

Sponsor:
Server and Web Integrator
Link:
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:

MRatWork Forum | Please login or register. | 2017-11-07, 20:55:42

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- install pecl mailparse untuk mail piping

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: install pecl mailparse untuk mail piping (Read 1825 times)

0 Members and 1 Guest are viewing this topic.

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### install pecl mailparse untuk mail piping

« on: 2016-06-20, 05:40:45 »
saya perlu ekstensi PHP Mailparse PECL untuk email piping salah satu billing
coba set php branch di php54w/u hasilnya
Code: [Select]

    Warning: popen() has been disabled for security reasons in OS/Guess.php on line 241

    Warning: fgets() expects parameter 1 to be resource, null given in OS/Guess.php on line 242

    Warning: pclose() expects parameter 1 to be resource, null given in OS/Guess.php on line 251
    pecl/mailparse requires PHP (version >= 7.0.0), installed version is 5.4.45
    No valid packages found
    install failed

tapi kalo coba di php56w/u hasilnya
Code: [Select]

    [root@nodename /]# yum install php-pecl-mailparse
    Loaded plugins: fastestmirror, presto, priorities, protectbase, replace
    Setting up Install Process
    Loading mirror speeds from cached hostfile
     * mratwork-epel: mirror.cs.princeton.edu
     * mratwork-ius-stable: mirror.symnds.com
     * mratwork-webtatic: us-east.repo.webtatic.com
    0 packages excluded due to repository protections
    Resolving Dependencies
    --> Running transaction check
    ---> Package php-pecl-mailparse.x86_64 0:2.1.5-2.el6 will be installed
    --> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-mailparse-2.1.5-2.el6.x86_64
    --> Processing Dependency: php(api) = 20090626 for package: php-pecl-mailparse-2.1.5-2.el6.x86_64
    --> Running transaction check
    ---> Package php-common.x86_64 0:5.3.3-47.el6 will be installed
    --> Processing Conflict: php56u-common-5.6.22-2.ius.el6.x86_64 conflicts php-common < 5.6
    --> Processing Conflict: php56u-gmp-5.6.22-2.ius.el6.x86_64 conflicts php-gmp < 5.6
    --> Finished Dependency Resolution
    Error: php56u-gmp conflicts with php-common-5.3.3-47.el6.x86_64
    Error: php56u-common conflicts with php-common-5.3.3-47.el6.x86_64
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest

mohon bantuannya pak
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: install pecl mailparse untuk mail piping

« Reply #1 on: 2016-06-20, 12:45:25 »
Harus cocok versinya. Itu 'php-pecl-mailparse' aslinya untuk php versi berapa?.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: install pecl mailparse untuk mail piping

« Reply #2 on: 2016-06-20, 17:28:05 »
sebelumnya tidak ada pak, saya belum install mailparse
tapi dari sini, kalo saya pake php-branch php54u/w
errornya begini
Code: [Select]

    Warning: popen() has been disabled for security reasons in OS/Guess.php on line 241

    Warning: fgets() expects parameter 1 to be resource, null given in OS/Guess.php on line 242

    Warning: pclose() expects parameter 1 to be resource, null given in OS/Guess.php on line 251
    pecl/mailparse requires PHP (version >= 7.0.0), installed version is 5.4.45
    No valid packages found
    install failed

minta php version >=7.0.0
nah, kalo pake php-used php56u/w, conflict dengan php-common 5.3
Code: [Select]

    Resolving Dependencies
    --> Running transaction check
    ---> Package php-pecl-mailparse.x86_64 0:2.1.5-2.el6 will be installed
    --> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-mailpa                                                                                rse-2.1.5-2.el6.x86_64
    --> Processing Dependency: php(api) = 20090626 for package: php-pecl-mailparse-2                                                                                .1.5-2.el6.x86_64
    --> Running transaction check
    ---> Package php-common.x86_64 0:5.3.3-47.el6 will be installed
    --> Processing Conflict: php56u-common-5.6.22-2.ius.el6.x86_64 conflicts php-com                                                                                mon < 5.6
    --> Processing Conflict: php56u-gmp-5.6.22-2.ius.el6.x86_64 conflicts php-gmp <                                                                                 5.6
    --> Finished Dependency Resolution
    Error: php56u-gmp conflicts with php-common-5.3.3-47.el6.x86_64
    Error: php56u-common conflicts with php-common-5.3.3-47.el6.x86_64
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest

Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: install pecl mailparse untuk mail piping

« Reply #3 on: 2016-06-20, 17:48:36 »
1. Pilih 'php70m' di 'php used'
2. Install php-pecl-mailparse pakai 'sh /script/phpm-extension-installer php70m php-pecl-mailparse'
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: install pecl mailparse untuk mail piping

« Reply #4 on: 2016-06-20, 18:27:20 »
berarti harus pakai php7 pak?
waduh, padahal billing app-nya pakai ioncube, sedangkan ioncube belum ada di php7 kan pak?
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: install pecl mailparse untuk mail piping

« Reply #5 on: 2016-06-20, 18:42:38 »
Bukan. Itu contoh kalau php-pecl-mailparse aslinya dicompile untuk php70. Kalau file itu dari epel repo, rasanya adalah untuk php53 sehingga 'sh /script/phpm-extension-installer php53m php-pecl-mailparse' dan kemudian pilih 'php53m' di 'php used'.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: install pecl mailparse untuk mail piping

« Reply #6 on: 2016-06-21, 00:01:20 »
saya coba install mailparse pakai
'sh /script/phpm-extension-installer php56m php-pecl-mailparse'
kemudian set php56m sebagai 'PHP Used'
cek pakai phpinfo sudah ada entry seperti ini
'/opt/php56m/etc/php.d/z-mailparse.ini'
tapi anehnya, di script masih error, dan ada warning kalau PECL Mailparse belum diinstall
asumsi saya, berarti script malah pakai /usr/bin/php , bukan /usr/bin/php56m-cli
ini kira2 kesalahannya ada di mana ya pak?
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: install pecl mailparse untuk mail piping

« Reply #7 on: 2016-06-21, 04:48:28 »
COba periksa dengan 'php56m-cli -m' apa sudah mailparse sudah masuk dalam daftar module atau belum. Jika belum mungkin 'z-mailparse.ini' perlu diedit.
Perlihatkan hasil dari 'cat /opt/php56m/etc/php.d/z-mailparse.ini'
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### Wibowo

- Master
- Posts: 391
- Karma: +0/-0
- Gender:

##### Re: install pecl mailparse untuk mail piping

« Reply #8 on: 2016-06-21, 07:25:37 »
wah iya kelihatannya belum di load oleh php56m-cli nya pak
Code: [Select]

    [root@nodename ~]# php56m-cli -m
    [PHP Modules]
    amqp
    apc
    apcu
    bcmath
    bz2
    calendar
    Core
    ctype
    curl
    date
    dom
    ereg
    exif
    fileinfo
    filter
    ftp
    gd
    gearman
    geoip
    gettext
    gmp
    hash
    iconv
    igbinary
    imap
    intl
    ionCube Loader
    json
    krb5
    ldap
    libxml
    mbstring
    mcrypt
    mhash
    mysql
    mysqli
    mysqlnd
    openssl
    pcntl
    pcre
    PDO
    pdo_mysql
    pdo_sqlite
    Phar
    posix
    pspell
    readline
    recode
    Reflection
    session
    shmop
    SimpleXML
    snmp
    soap
    sockets
    sphinx
    SPL
    sqlite3
    standard
    sysvmsg
    sysvsem
    sysvshm
    tidy
    tokenizer
    twig
    uploadprogress
    xml
    xmlreader
    xmlrpc
    xmlwriter
    xsl
    yaml
    zip
    zlib

    [Zend Modules]
    the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)

ini pak
Code: [Select]

    [root@nodename ~]# cat /opt/php56m/etc/php.d/z-mailparse.ini
    ; Enable mailparse extension module
    extension = mailparse.so

    ; Set the default charset
    ;mailparse.def_charset = us-ascii

Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: install pecl mailparse untuk mail piping

« Reply #9 on: 2016-06-21, 08:53:18 »
Kan mailparse dari epel itu dicompile untuk php 5.3 sehingga kemungkinan besar tidak cocok untuk versi lain. Begitu.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- install pecl mailparse untuk mail piping

Top 10 Social Networking: Facebook Twitter LinkedIn Pinterest Google Plus Tumblr Instagram VK Flickr Vine

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.037 seconds with 17 queries.

Mirror created by MasterkinG32.CoM