php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #57989 memcache pecl install fails without session
Submitted: 2008-01-02 15:54 UTC Modified: 2011-04-18 12:07 UTC
From: david at acz dot org Assigned: mikl (profile)
Status: Closed Package: memcache (PECL)
PHP Version: 5.2.1 OS: SuSE Linux
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: david at acz dot org
New email:
PHP Version: OS:

 

 [2008-01-02 15:54 UTC] david at acz dot org
Description:
------------
Installing memcache using the pecl tool fails if the session extension is disabled.

Reproduce code:
---------------
Configure PHP with --disable-session

Install memcache with "pecl install memcache"


Actual result:
--------------
checking for session includes... configure: error: Cannot find php_session.h
ERROR: `/tmp/pear/cache/memcache-2.2.1/configure' failed


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-02 15:55 UTC] tony at daylessday dot org
Use --disable-memcache-session when configuring PECL/memcache in case you don't want to enable memcache session support.
 [2008-01-03 00:06 UTC] david at acz dot org
The configure option needs to be added to the package.xml:

 <extsrcrelease>
  <configureoption default="yes" name="enable-memcache-session" prompt="Enable memcache session support?"/>
 </extsrcrelease>
 [2008-01-05 05:13 UTC] mikael at synd dot info
This bug has been fixed in CVS.

In case this was a documentation problem, the fix will show up at the
end of next Sunday (CET) on pecl.php.net.

In case this was a pecl.php.net website problem, the change will show
up on the website in short time.
 
Thank you for the report, and for helping us make PECL better.


 [2011-04-18 08:46 UTC] normandiggs at gmail dot com
Same with memcached.
How can I pass option "--disable-memcached-session" in pecl command line?
 [2011-04-18 12:07 UTC] hradtke@php.net
File a bug with pecl/memcached if it doesn't work.  This is pecl/memcache.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 23:01:30 2024 UTC