pecl or phpize: command not found

xuancong6000

Verified User
Joined
Oct 12, 2012
Messages
79
when I try to install APC on centos it had an error:
Code:
[root@server1 APC-3.1.13]# phpize
-bash: phpize: command not found
please help mw fix it
thanks
 
try:

whereis phpize

or

find / -name phpize

Regards
Thanks you very much I had installed successfull but I had do it by manual
[root@server1 APC-3.1.13]# whereis phpize
phpize: /usr/local/bin/phpize
[root@server1 APC-3.1.13]# /usr/local/bin/phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
[root@server1 APC-3.1.13]#
when I do command
[root@server1 APC-3.1.13]# ./configure
it require PATH of php-config
configure: error: Cannot find php-config. Please use --with-php-config=PATH
so I much do it by manual
[root@server1 APC-3.1.13]# whereis php-config
php-config: /usr/local/bin/php-config
[root@server1 APC-3.1.13]# ./configure --with-php-config=/usr/local/bin/php-conf
ig
so can you help me reset to default(don't use any PATH to install)
 
What do you mean for "reset to defualt"? Those variable will be set as empty once you logout from ssh.

Regards
in another VPS I don't do it by manual I use "phpize" and "./configure" to install I don't know what happend on this VPS it mean I want to the same config with don't have $PATH when I install orther mod
 
Back
Top