php.net |  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: -
Votes:14
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
Have you experienced this issue?
Rate the importance of this bug to you:

 [2016-06-30 13:25 UTC] stissot at mac dot com
Description:
------------
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/sphinx.so'
install ok: channel://pecl.php.net/sphinx-1.3.3

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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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-2020 The PHP Group
All rights reserved.
Last updated: Sat Oct 31 08:01:23 2020 UTC