在OpenSUSE 12.1上安装phpize

时间:2013-02-19 17:17:18

标签: php opensuse

我正在尝试在OpenSUSE 12.1上安装phpize。我已经尝试了以下结果。

$ sudo zypper install phpize
Loading repository data...
Reading installed packages...
'phpize' not found in package names. Trying capabilities.
No provider of 'phpize' found.
Resolving package dependencies...

Nothing to do.

$ sudo zypper install php5-dev
Your password:
Loading repository data...
Reading installed packages...
Package 'php5-dev' not found.
Resolving package dependencies...

Nothing to do.


$ sudo zypper install phpcli-5.3.2-1rt.i686.rpm
Your password:
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: nothing provides /usr/src/rpm/BUILD/dev/phpcli-5.3.2/sapi/cli/php needed by     phpcli-5.3.2-1rt.i686
 Solution 1: do not install phpcli-5.3.2-1rt.i686
 Solution 2: break phpcli-5.3.2-1rt.i686 by ignoring some of its dependencies

Choose from above solutions by number or cancel [1/2/c] (c): c

非常感谢任何协助,
彼得。

1 个答案:

答案 0 :(得分:5)

sudo zypper install php5-devel