Welcome to Centmin Mod Community
Become a Member

PHP-FPM mailparse fails to install because of git.php.net

Discussion in 'Install & Upgrades or Pre-Install Questions' started by jcat, Sep 30, 2021.

  1. jcat

    jcat Member

    134
    19
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +53
    Local Time:
    6:03 PM
    I've noticed new installs and php upgrades all failing to install mailparse, looks like php.net's repo is down:


    Code:
    fatal: unable to access 'https://git.php.net/repository/pecl/mail/mailparse.git/': Failed connect to git.php.net:443; Operation now in progress
    
    Pull from github?

    https://github.com/php/pecl-mail-mailparse
     
  2. eva2000

    eva2000 Administrator Staff Member

    47,461
    10,759
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,715
    Local Time:
    9:03 AM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Thanks @jcat for the heads up. Just updated 123.09beta01 with a fix, so running cmupdate on your local Centmin Mod install should update it with fixed code. Basically, I removed the git repo now as official PHP Pecl site has the PHP 7+ compatible mailparse PHP extension now - which it didn't have when PHP 7 was first released :)

    Also updated mailparse from 3.0.4 to 3.1.2 by default for PHP 7+.

    Code (Text):
    php --ri mailparse
    
    mailparse
    
    mailparse support => enabled
    Extension Version => 3.1.2
    
    Directive => Local Value => Master Value
    mailparse.def_charset => us-ascii => us-ascii