Doc #78998 [Csd]: Fatal error: Undefined class constant 'EM_AES_256'
| From: | cmb@php.net | Date: | Thu, 19 Dec 2019 17:35:30 +0000 |
| Subject: | Doc #78998 [Csd]: Fatal error: Undefined class constant 'EM_AES_256' | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-17153@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=78998&edit=1
ID: 78998
Updated by: cmb@php.net
Reported by: shariefjamiel at gmail dot com
Summary: Fatal error: Undefined class constant 'EM_AES_256'
Status: Closed
Type: Documentation Problem
Package: Zip Related
Operating System: ubuntu 18.04 - php 7.2.15
PHP Version: Irrelevant
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation better.
Previous Comments:
------------------------------------------------------------------------
[2019-12-19 17:35:09] salathe@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=74de81ca6c488b103f4995106209798754e425fd
Log: Fix #78998: Fatal error: Undefined class constant 'EM_AES_256'
------------------------------------------------------------------------
[2019-12-19 17:34:55] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=348590
Log: Fix #78998: Fatal error: Undefined class constant 'EM_AES_256'
------------------------------------------------------------------------
[2019-12-19 17:07:14] cmb@php.net
> [â¦] but you need >= 1.2.0[1].
Oops! That should have been "but you need libzip >= 1.2.0".
Ubuntu 18.04 has only libzip 1.1.2-1.1 by default.
------------------------------------------------------------------------
[2019-12-19 11:48:49] shariefjamiel at gmail dot com
This is from TravisCI as well
$ php --version
PHP 7.2.15 (cli) (built: Feb 11 2019 23:22:17) ( ZTS )
Error: Undefined class constant 'ZipArchive::EM_NONE'
------------------------------------------------------------------------
[2019-12-19 11:45:17] shariefjamiel at gmail dot com
Sorry I am not following you, neither on Docker ubuntu 18.04 nor Travis CI ubuntu 14 maybe, when I
use PHP 7.2 this does not work. Only when I switch to PHP 7.3 does it work.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=78998
--
Edit this bug report at https://bugs.php.net/bug.php?id=78998&edit=1