Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Incomplete
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: library
-
Security Level: Public
-
Labels:None
-
Environment:Hidecentos 6.3 x86_64
php 5.4 from remi repository ( http://blog.famillecollet.com/en )
# rpm -q php-fpm
php-fpm-5.4.6-1.el6.remi.x86_64
# uname -a
Linux dhcppc0 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Showcentos 6.3 x86_64 php 5.4 from remi repository ( http://blog.famillecollet.com/en ) # rpm -q php-fpm php-fpm-5.4.6-1.el6.remi.x86_64 # uname -a Linux dhcppc0 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
Description
Affects Versions:
1.0.6-1
1.1.0dp9-1
Here are steps to reproduce error in version 1.0.6-1, (version 1.1.0dp9-1 is similar):
1. create file /etc/yum.repos.d/couchbase.repo
[couchbase]
name = Couchbase package repository
# baseurl = http://packages.couchbase.com/rpm/6.2/x86_64
baseurl = http://packages.couchbase.com/preview/rpm/5.5/x86_64
gpgcheck=0
2. yum install libcouchbase1
3.
# wget http://packages.couchbase.com/clients/php/php-ext-couchbase-1.0.5-centos62-x86_64.tar.gz
# tar xzf php-ext-couchbase-1.0.5-centos62-x86_64.tar.gz
# cp php-ext-couchbase/couchbase.so /usr/lib64/php/modules/
4. add the following line to /etc/php.d/json.ini:
extension=couchbase.so
5. # service php-fpm restart
Stopping php-fpm: [ OK ]
Starting php-fpm: [10-Sep-2012 17:42:45] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/couchbase.so' - /usr/lib64/php/modules/couchbase.so: undefined symbol: php_json_decode in Unknown on line 0
[ OK ]
1.0.6-1
1.1.0dp9-1
Here are steps to reproduce error in version 1.0.6-1, (version 1.1.0dp9-1 is similar):
1. create file /etc/yum.repos.d/couchbase.repo
[couchbase]
name = Couchbase package repository
# baseurl = http://packages.couchbase.com/rpm/6.2/x86_64
baseurl = http://packages.couchbase.com/preview/rpm/5.5/x86_64
gpgcheck=0
2. yum install libcouchbase1
3.
# wget http://packages.couchbase.com/clients/php/php-ext-couchbase-1.0.5-centos62-x86_64.tar.gz
# tar xzf php-ext-couchbase-1.0.5-centos62-x86_64.tar.gz
# cp php-ext-couchbase/couchbase.so /usr/lib64/php/modules/
4. add the following line to /etc/php.d/json.ini:
extension=couchbase.so
5. # service php-fpm restart
Stopping php-fpm: [ OK ]
Starting php-fpm: [10-Sep-2012 17:42:45] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/couchbase.so' - /usr/lib64/php/modules/couchbase.so: undefined symbol: php_json_decode in Unknown on line 0
[ OK ]
Activity
Matt Ingenthron
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Status | Open [ 1 ] | Resolved [ 5 ] |
| Resolution | Incomplete [ 4 ] |
Matt Ingenthron
made changes -
| Resolution | Incomplete [ 4 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
thanhbv
made changes -
| Attachment | phpinfo.html [ 15057 ] |
Matt Ingenthron
made changes -
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Won't Fix [ 2 ] |
Perry Krug
made changes -
| Resolution | Won't Fix [ 2 ] | |
| Status | Resolved [ 5 ] | Reopened [ 4 ] |
| Assignee | Matt Ingenthron [ ingenthr ] |
Matt Ingenthron
made changes -
| Status | Reopened [ 4 ] | Resolved [ 5 ] |
| Resolution | Incomplete [ 4 ] |
This is an issue with the order of the extensions, and it's mentioned in the installation section on http://www.couchbase.com/develop/php/current
Solution is to put the extension in a different .ini file.