php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59897 Add support for APC built as extension
Submitted: 2011-08-18 06:34 UTC Modified: 2017-10-24 23:20 UTC
From: nick at ihighteam dot com Assigned:
Status: Suspended Package: mysqlnd_qc (PECL)
PHP Version: 5.3.6 OS: FreeBSD
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: nick at ihighteam dot com
New email:
PHP Version: OS:

 

 [2011-08-18 06:34 UTC] nick at ihighteam dot com
Description:
------------
This is an excellent PHP extension!  I can get mysqlnd_qc to compile and install just fine with PECL (pecl install mysqlnd_qc).  However, to enable APC support, one has to compile it statically.  I've had a lot of compile issues with this, since it doesn't work with PHP 5.3.6 stable and my autoconf 2.68.  I've had to get the development version of PHP and downgrade autoconf to 2.13.  It would be great to allow the APC extension to work with the mysqlnd_qc plugin.  One workaround is to create a user-defined storage handler function in PHP that calls the APC functions.

Reproduce code:
---------------
PHP 5.3.6 doesn't quite work yet:

In file included from /usr/ports/distfiles/php-5.3.6/ext/mysqlnd/mysqlnd.h:57,
                 from /usr/ports/distfiles/php-5.3.6/ext/mysqlnd_qc/mysqlnd_qc.h:24,
                 from /usr/ports/distfiles/php-5.3.6/ext/mysqlnd_qc/php_mysqlnd_qc.c:31:
/usr/ports/distfiles/php-5.3.6/ext/mysqlnd/mysqlnd_portability.h:40:46: error: ext/mysqlnd/php_mysqlnd_config.h: No such file or directory
*** Error code 1



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-08-26 19:46 UTC] johannes at schlueters dot de
Hi, thanks for the feedback. An issue is that this plugin uses non public APC APIs which we can't reliably use from shared objects. Calling the userspace functions is not easy for different reasons including error handling. But we will look into it.
 [2013-03-20 12:57 UTC] uw@php.net
There's a strong tendency towards won't fix. APC is becoming more and more of a hack in mysqlnd_qc. It works BUT...
 [2017-10-24 23:20 UTC] kalle@php.net
-Status: Open +Status: Suspended
 [2017-10-24 23:20 UTC] kalle@php.net
The mysqlnd_qc package have not had a release for 4 years, so its safe to say that there is no longer any activity for this, if development picks back up then this report should be re-opened.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 26 05:01:30 2024 UTC