Greetings all,
I have CentOS 6.2 (upgraded to 6.3) installed on our server.
I have LAMP running on it too.
The installed PHP Version 5.4.6
The installed Apache version is: 2.2.15
I am currently trying to get json installed but running into problems running phpize
Here's what I have done so far:
Code:
[root@myserver1 tmp]# pecl install json
downloading json-1.2.1.tgz ...
Starting to download json-1.2.1.tgz (17,780 bytes)
......done: 17,780 bytes
11 source files, building
running: phpize
Cannot find config.m4.
Make sure that you run '/usr/bin/phpize' in the top level source directory of the module
ERROR: `phpize' failed
When I do: "yum install m4",I get
"Package m4-1.4.13-5.el6.i686 already installed and latest version
Nothing to do"
The following commands return nothing:
1#. yum search php | grep json
2#. cd / find -name 'config.m4'
Yet, "yum install m4" gives me
"Package m4-1.4.13-5.el6.i686 already installed and latest version
Nothing to do"
Echo $PATH gives me
Code:
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin
phpize is actually in usr/bin. While trying to troubleshoot, I have also copied it (phpize) into /usr/local/bin but with no success.
This command "php -v" gives me
Code:
PHP: syntax error, unexpected BOOL_FALSE in /etc/php.ini on line 1001
PHP 5.4.6 (cli) (built: Aug 16 2012 14:26:44)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
I would appreciate any help I can get in solving this issue. Google has not offered much help.
Thanks.