Bug #71232 [Nab]: outdated extension APIs for PHP 7.0.1 Windows build
| From: | mike@php.net | Date: | Wed, 20 Jan 2016 13:14:29 +0000 |
| Subject: | Bug #71232 [Nab]: outdated extension APIs for PHP 7.0.1 Windows build | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-198795@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71232&edit=1
ID: 71232
Updated by: mike@php.net
Reported by: jurchiks101 at gmail dot com
Summary: outdated extension APIs for PHP 7.0.1 Windows build
Status: Not a bug
Type: Bug
Package: Win32API related
Operating System: Windows 7 X64
PHP Version: 7.0.1
Block user comment: N
Private report: N
New Comment:
When you're looking for HttpResponse, that means you're using pecl_http-v1, which only
works with PHP-5.4 or older.
Previous Comments:
------------------------------------------------------------------------
[2016-01-20 12:47:39] jurchiks101 at gmail dot com
@mik -
https://pecl.php.net/package/raphf
https://pecl.php.net/package/propro
https://pecl.php.net/package/pecl_http
Look under Dependencies, they all require PHP 7+. You just need to update your libraries.
------------------------------------------------------------------------
[2016-01-20 06:00:13] mik2149 at gmail dot com
http: Unable to initialize module\nModule compiled with module
API=20131226\nPHP compiled with module API=20151012\nThese options need to match\n in Unknown on
line 0
Apache 2.4 windows 7 x 64 error occurs with 3 extension needed for HttpResponse
error
Type: Error
Message: Class 'HttpResponse' not found
extension=php_raphf.dll
extension=php_propro.dll
extension=php_http.dll
it seems that they are not complied with php 7.0.1
------------------------------------------------------------------------
[2016-01-07 22:51:46] jurchiks101 at gmail dot com
It should treat extension_dir="ext" as a relative directory. It's just a logical
expectation that it would.
------------------------------------------------------------------------
[2016-01-07 17:36:07] ab@php.net
Thanks for the report. ZEND_EXTENSION_API_NO 20131226 corresponds to PHP 5.6. This means the
extensions DLLs are not loaded from the PHP 7 distribution. Please set an absolute path in the
extension_dir directive. Also please be sure using Apache compiled with VC14.
Thanks.
------------------------------------------------------------------------
[2016-01-06 00:20:32] jurchiks101 at gmail dot com
I also tried the QA release of 7.0.2RC1
VC14 x64 Thread Safe (2015-Dec-23 05:30:48)
And it had the exact same problem.
It looks like the person who compiles these doesn't even check if they 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=71232
--
Edit this bug report at https://bugs.php.net/bug.php?id=71232&edit=1