|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #72525 PHP 7 compatibility
Submitted: 2016-06-30 13:25 UTC Modified: -
Avg. Score:4.9 ± 0.5
Reproduced:12 of 12 (100.0%)
Same Version:8 (66.7%)
Same OS:6 (50.0%)
From: stissot at mac dot com Assigned:
Status: Open Package: sphinx (PECL)
PHP Version: 7.0.8 OS: Ubuntu 14.04
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
47 - 30 = ?
Subscribe to this entry?

 [2016-06-30 13:25 UTC] stissot at mac dot com
The Sphinx extension is not available through PECL when running PHP 7.

Test script:
pecl install -a sphinx

Expected result:
pecl -d preferred_state=stable install -a sphinx
downloading sphinx-1.3.3.tgz ...
Starting to download sphinx-1.3.3.tgz (15,555 bytes)
......done: 15,555 bytes
4 source files, building
running: phpize
Configuring for:
PHP Api Version:         20131106
Zend Module Api No:      20131226
Zend Extension Api No:   220131226
Build process completed successfully
Installing '/usr/lib/php5/20131226/'
install ok: channel://

Actual result:
No releases available for package "" - package pecl/sphinx can be installed with "pecl install sphinx"
install failed


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-14 13:48 UTC] amp at nforced dot net
Still the same
root@fatal:/www# pecl install -a sphinx
pecl/sphinx requires PHP (version >= 5.2.2, version <= 6.0.0, excluded versions: 6.0.0), installed version is 7.0.8-0ubuntu0.16.04.3
No valid packages found
install failed

It's very important to make this work with PHP 7, I can contribute in some way.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon May 17 11:01:24 2021 UTC