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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 00:01:30 2024 UTC