Join the community today
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

    153
    22
    18
    Jun 21, 2015
    New Jersey
    Ratings:
    +64
    Local Time:
    10:18 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

    55,445
    12,257
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,841
    Local Time:
    12:18 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    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