You are not logged in.

#1 2012-05-13 05:35:48

lxyu
Member
From: Spirit
Registered: 2012-01-11
Posts: 11
Website

Problem with php 5.4.3-1, it seems json.so had disappeared?

When recently upgrade my archlinux, the php upgrade to 5.4.3-1.

Refer to http://www.archlinux.org/packages/extra/i686/php/files/, we can see json.so disappeared.

And I get this error:

$ php --version                                                                                                                                                                                                                                                (env: zeusenv) 
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/json.so' - /usr/lib/php/modules/json.so: cannot open shared object file: No such file or directory in Unknown on line 0

Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/json.so' - /usr/lib/php/modules/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning:  PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0

Warning: PHP Startup: imagick: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP Warning:  PHP Startup: mongo: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0

Warning: PHP Startup: mongo: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0
PHP 5.4.3 (cli) (built: May  8 2012 17:04:44) 
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies

Any idea on how to solve this?

Offline

#2 2012-05-13 05:46:42

wwj
Member
Registered: 2012-04-05
Posts: 2

Re: Problem with php 5.4.3-1, it seems json.so had disappeared?

Read the news.

Offline

#3 2012-05-13 05:48:14

lxyu
Member
From: Spirit
Registered: 2012-01-11
Posts: 11
Website

Re: Problem with php 5.4.3-1, it seems json.so had disappeared?

Just read it, my fault, sorry about it.

Offline

#4 2012-06-25 08:55:01

Cygal
Member
Registered: 2012-06-25
Posts: 2

Re: Problem with php 5.4.3-1, it seems json.so had disappeared?

Since news quickly disappear and become harder to dig up, I thought I'd just mention that the fix is to remove "extension=json.so" from /etc/php/php.ini.

(The news wwj was talking about is PHP updated to version 5.4. I did read it but didn't remove the directive right away.)

Offline

#5 2012-07-06 17:02:13

Csosa
Member
Registered: 2009-07-28
Posts: 54

Re: Problem with php 5.4.3-1, it seems json.so had disappeared?

Cygal wrote:

Since news quickly disappear and become harder to dig up, I thought I'd just mention that the fix is to remove "extension=json.so" from /etc/php/php.ini.

(The news wwj was talking about is PHP updated to version 5.4. I did read it but didn't remove the directive right away.)


Thanks Cygal!

Offline

Board footer

Powered by FluxBB