note 78156 added to ref.memcache
| From: | mogmios at gmail dot com | Date: | Mon, 01 Oct 2007 04:03:28 +0000 |
| Subject: | note 78156 added to ref.memcache | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130955@lists.php.net to get a copy of this message | ||
When installing the memcache module for Apache/PHP with a non-standard location it seems like there
is no way to define the location when configuring for build. You'll get an error complaining
about being unable to find php_session.h. I modified configure to try the PREFIX location too and
that seems to have worked fine.
if test -f "${prefix}/include/php/ext/session/php_session.h"; then
session_inc_path="${prefix}/include/php"
elif test -f "$abs_srcdir/include/php/ext/session/php_session.h"; then
session_inc_path="$abs_srcdir/include/php"
elif test -f "$abs_srcdir/ext/session/php_session.h"; then
session_inc_path="$abs_srcdir"
elif test -f "$phpincludedir/ext/session/php_session.h"; then
session_inc_path="$phpincludedir"
fi
----
Server IP: 208.69.120.35
Probable Submitter: 72.174.222.239
----
Manual Page -- http://www.php.net/manual/en/ref.memcache.php
Edit -- https://master.php.net/note/edit/78156
Del: integrated -- https://master.php.net/note/delete/78156/integrated
Del: useless -- https://master.php.net/note/delete/78156/useless
Del: bad code -- https://master.php.net/note/delete/78156/bad+code
Del: spam -- https://master.php.net/note/delete/78156/spam
Del: non-english -- https://master.php.net/note/delete/78156/non-english
Del: in docs -- https://master.php.net/note/delete/78156/in+docs
Del: other reasons-- https://master.php.net/note/delete/78156
Reject -- https://master.php.net/note/reject/78156
Search -- https://master.php.net/manage/user-notes.php