|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #71043 Stats Package not compiling under PHP 7.0
Submitted: 2015-12-06 16:32 UTC Modified: 2016-01-02 07:38 UTC
From: glauco at gateon dot com dot br Assigned: seander (profile)
Status: Closed Package: stats (PECL)
PHP Version: 7.0.0 OS: CentOS 6.7
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:
Bug Type:
From: glauco at gateon dot com dot br
New email:
PHP Version: OS:


 [2015-12-06 16:32 UTC] glauco at gateon dot com dot br
From manual page:

After upgrading from PHP 5.3.3 to PHP 7.0.0, the stats and trader modules were not being loaded.

I used PECL to uninstall both modules, and then reinstall them.
The trader module compiled successfully, but the stats did not.

Test script:
$ sudo pecl install stats

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/' - /usr/lib64/php/modules/ cannot open shared object file: No such file or directory in Unknown on line 0

downloading stats-1.0.3.tgz ...
Starting to download stats-1.0.3.tgz (99,144 bytes)
.........done: 99,144 bytes
17 source files, building
running: phpize
Configuring for:
PHP Api Version:         20151012
Zend Module Api No:      20151012
Zend Extension Api No:   320151012
building in /var/tmp/pear-build-rootzxrAHQ/stats-1.0.3
running: /var/tmp/stats/configure --with-php-config=/usr/bin/php-config

[ ... ]

make: *** [php_stats.lo] Error 1
ERROR: `make' failed

Expected result:
An installed PECL extension.

Actual result:
Bunch of errors.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-08 03:57 UTC] sean at siobud dot com

There is an updated stats version available here

Many extensions have been ported, but their maintainers haven't updated them yet on PECL
 [2015-12-23 19:57 UTC]
-Assigned To: +Assigned To: seander
 [2015-12-23 19:57 UTC]
A new version will be uploaded to PECL in the next day or two, thanks for your patience! We just need to migrate the repo to git (from svn)
 [2016-01-02 07:38 UTC]
-Status: Assigned +Status: Closed
 [2016-01-02 07:38 UTC]
Stats 2.0.0 has been uploaded, which was ported to PHP 7.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Jun 25 19:01:28 2024 UTC