Re: [PECL-DEV] I would like to take over PAM extension which is inactive since 2009

[email protected] (Remi Collet) Mon, 7 Jun 2021 15:03:00 +0200
Newsgroups php.pecl.dev
Message-ID <[email protected]>
Hi,

Le 26/05/2021 à 07:28, Amish a écrit :
> Hello,
> 
> My name is Amish and I am located in India and a coder since about 23 
> years or so.
> 
> I would like to take over PAM extension located at 
> https://pecl.php.net/package/PAM. The package is inactive since 2009.
> 
> I have improved the code to make it ready for PHP 7/8 at Github. And 
> also added some additional features.
> 
> https://github.com/amishmm/php-pam

I noticed version 2.2.1 have been published on pecl

So, questions

1/ Where are the sources ?

Seems the linked github project is outdated (on 2.1 there) and no 
package.xml



2/ Supported versions

You say 7/8 but package.xml states > 8.0
Is it expected (will be nice to have all maintained versions)



3/ ZTS

Looks like ZTS support is not ready
Segfault when  run with extension enabled

(gdb) bt
#0  zend_post_startup () at 
/usr/src/debug/php-7.4.20-1.fc33.remi.x86_64/Zend/zend.c:1015
#1  0x000055555577a59d in php_module_startup (sf=<optimized out>, 
additional_modules=<optimized out>, num_additional_modules=<optimized out>)
     at /usr/src/debug/php-7.4.20-1.fc33.remi.x86_64/main/main.c:2373
#2  0x0000555555877cc1 in php_cli_startup (sapi_module=<optimized out>) 
at /usr/src/debug/php-7.4.20-1.fc33.remi.x86_64/sapi/cli/php_cli.c:410
#3  0x000055555563f45b in main (argc=6, argv=0x555555e1b230) at 
/usr/src/debug/php-7.4.20-1.fc33.remi.x86_64/sapi/cli/php_cli.c:1326



Cheers,
Remi