note 125680 added to install.pecl

From: Date: Thu, 14 Jan 2021 16:04:07 +0000
Subject: note 125680 added to install.pecl
Groups: php.notes 
Request: Send a blank email to php-notes+get-216159@lists.php.net to get a copy of this message
I was able to run it on Ubuntu + PHP 8.0. Currently newest version 0.5.0 is not adapted to PHP 8.0, although it seems to work. You have to download the source version and compile it manually (based on https://www.php.net/manual/en/install.pecl.phpize.php), but you will probably get compilation errors. In my case, there were a few minor bugs due to the missing ; at the end of the return statement. There were also errors related to the removal of TSRM from PHP 8, but it was enough to add macros to the .c files. May be useful (adds macros to the first line of all .c files in the current directory): sed -i '1s / ^ / \ # ifndef \ TSRMLS_D \ n \ #define \ TSRMLS_D \ void \ n \ #define \ TSRMLS_DC \ n \ #define \ TSRMLS_C \ n \ #define \ TSRMLS_CC \ n \ #define \ TSRMLS_FETCH \ (\) \ n \ #endif \ n / '* .c ---- Server IP: 45.112.84.4 Probable Submitter: 195.138.250.34 (proxied: 2a02:a311:5e:d980:98f2:1c3b:c4e1:60e5) ---- Manual Page -- http://php.net/manual/en/install.pecl.php Edit -- https://master.php.net/note/edit/125680 Del: integrated -- https://master.php.net/note/delete/125680/integrated Del: useless -- https://master.php.net/note/delete/125680/useless Del: bad code -- https://master.php.net/note/delete/125680/bad+code Del: spam -- https://master.php.net/note/delete/125680/spam Del: non-english -- https://master.php.net/note/delete/125680/non-english Del: in docs -- https://master.php.net/note/delete/125680/in+docs Del: other reasons-- https://master.php.net/note/delete/125680 Reject -- https://master.php.net/note/reject/125680 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#216159) next »