我目前正在运行 openSuse 12.1 和 php 5.3.8,想升级到 5.4。我该怎么做?我习惯使用 yast 安装软件包。
答案1
如果没有包你可以编译自己的 php
1. Download php, extract it and cd into the directory
2. ./configure - add options you need and do not forget --with-apxs2. It will compile the module for apache. (You can check the currunt options used to compile php in phpinfo()). You can see the help and options with ./configure --help
3. make - this will compile the php
4. make install - this will install the php