|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #79935 ncurses has not been updated to support PHP 7
Submitted: 2020-08-05 20:13 UTC Modified: 2021-03-18 17:10 UTC
From: heck at tutanota dot de Assigned: joodk (profile)
Status: Assigned Package: ncurses (PECL)
PHP Version: 7.4.8 OS: Ubuntu
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2020-08-05 20:13 UTC] heck at tutanota dot de
Ncurses PECL package has not been updated to support PHP7.

Test script:
pecl install ncurses

Expected result:
ncurses should install. 

Actual result:

error: unknown type name ‘zend_rsrc_list_entry’; 
did you mean ‘zend_rsrc_list_dtors_entry’?


add-php7-support (last revision 2020-09-11 23:47 UTC by nathan dot renniewaldock+php at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2020-08-06 08:57 UTC]
-Assigned To: +Assigned To: joodk
 [2020-08-06 13:18 UTC]
i think we need new maintainer, because i am currently sick and dont have time.

But in the meantime maybe You can use this: - worked for me.
 [2020-08-06 13:18 UTC]
I am sorry but i think we need to get a new maintainer because i am sick and dont have time for it.

But maybe this can help You out, it worked for me
 [2020-09-09 04:18 UTC] heck at tutanota dot de
Will you accept a patch to resolve this issue?
 [2020-09-09 08:27 UTC]
I may consider becoming the maintainer of ncurses again (being the original author), but I'll only be able to look into this and decide in two weeks from now ...
 [2020-09-11 23:46 UTC] nathan dot renniewaldock+php at gmail dot com
The linked git repo looks like a bad port. It drops the garbage collection, and NCURSES_ prefix from some constants. It also doesn't build against 7.4.3.

There is a WIP in trunk that I've taken a look at. I've got it building against 7.0, 7.3, and 7.4 with the included example1.php functional. Haven't tested any further, or any other PHP versions.
 [2020-09-11 23:47 UTC] nathan dot renniewaldock+php at gmail dot com
The following patch has been added/updated:

Patch Name: add-php7-support
Revision:   1599868038
 [2021-03-18 17:10 UTC]
Looks like ncurses is desperately in need of a new maintainer.
Latest release from 2012, not compatible with PHP 7 (let alone PHP
8).  Anybody who is interested in taking over this role should
consider to apply for a PECL account[1].

[1] <>
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 15 09:01:28 2024 UTC