php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #78595 PECL install protobuf & grpc as both extension & zend_extension in php.ini
Submitted: 2019-09-25 11:30 UTC Modified: 2021-08-26 11:12 UTC
From: mt at mansonthomas dot com Assigned: cmb (profile)
Status: Closed Package: PECL (PECL)
PHP Version: 7.2.22 OS: MacOSX
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mt at mansonthomas dot com
New email:
PHP Version: OS:

 

 [2019-09-25 11:30 UTC] mt at mansonthomas dot com
Description:
------------
on a fresh install of httpd/apache : 

brew install httpd php@7.2


pecl install grpc protobuf xdebug

extensions will be included at the top of the php.ini file as exension
and in the XDebugSection for all 3 pacakges while it's valid only for the XDEbug.

I've added an XDebug section before running the installation

Running php on command line then produce this :

$ php
/usr/local/lib/php/pecl/20170718/grpc.so doesn't appear to be a valid Zend extension
/usr/local/lib/php/pecl/20170718/protobuf.so doesn't appear to be a valid Zend extension

normal extension are also added multiple time 


Test script:
---------------
brew install httpd php@7.2
pecl install grpc protobuf xdebug

php


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-08-26 11:12 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-08-26 11:12 UTC] cmb@php.net
pecl is just an alias for pear, so this isn't the right
bugtracker.  If this issue is still relevant, please report it at
<https://pear.php.net/bugs/>.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Fri Sep 17 14:03:37 2021 UTC