|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57981 too few arguments to function
Submitted: 2007-12-27 13:50 UTC Modified: 2016-06-26 04:22 UTC
From: ajones at umces dot edu Assigned: cmb (profile)
Status: No Feedback Package: APC (PECL)
PHP Version: 5.2.1 OS: debian etch
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
42 - 4 = ?
Subscribe to this entry?

 [2007-12-27 13:50 UTC] ajones at umces dot edu
I am running php 5.2.5 (with suhosin patch) and get this error when doing a pecl upgrade APC

/tmp/pear/cache/APC-3.0.16/php_apc.c: In function 'zm_activate_apc':
/tmp/pear/cache/APC-3.0.16/php_apc.c:303: error: too few arguments to function 'apc_set_signals'
make: *** [php_apc.lo] Error 1
ERROR: `make' failed

Reproduce code:
simply do a:

pecl upgrade APC

Expected result:
should be able to correctly make the apc package and install


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-12-28 14:46 UTC] php at ideacode dot com
Compile also fails on AMD64.  Configure line (for a php 4.4.7 system) is nothing fancy:
configure --enable-apc --enable-apc-mmap --with-php-config=/usr/bin/php-config

It looks like the call to apc_set_signals() in the SIGACTION ifdef doesn't match the function definition in apc_signal.c

This doesn't occur in 3.0.15, but that's not surprising as the signal code looks like it's new to .16.
 [2008-01-21 15:55 UTC] allo32 at hotmail dot com
I do have the same problem with PHP 5.2.5 and APC 3.0.16.

here is my configure options :

--with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --prefix=/usr/local/apache2/php --with-config-file-path=/usr/local/apache2/php --with-zlib --with-gettext --with-gdbm --with-gnu-ld --with-pic --enable-zip --with-db4 --enable-mod-charset --with-openssl --disable-ipv6 --disable-short-tags --without-sqlite --with-jpeg-dir --enable-mbstring --with-png-dir --enable-sockets --with-gd --disable-cgi --enable-apc
 [2008-02-27 09:06 UTC] rafaelfpviana at gmail dot com
i'm having the same issue with PHP 5.2.5 and Apache 2.2.8

i'm trying to make APC 3.0.16
 [2015-08-11 18:33 UTC]
-Package: perl +Package: APC
 [2016-06-14 17:56 UTC]
-Status: Open +Status: Feedback
 [2016-06-14 17:56 UTC]
Does this issue still persist with APC 3.1.13?
 [2016-06-15 00:07 UTC]
-Assigned To: +Assigned To: cmb
 [2016-06-26 04:22 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Jan 20 15:03:33 2022 UTC