如何在linux服务器上使用--enable-zip参数重新编译php? [英] How to recompiling php with --enable-zip parameter on linux server?
本文介绍了如何在linux服务器上使用--enable-zip参数重新编译php?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我们安装了ZZIPlib。
我的命令配置行看起来像:
./configure?with-apxs?with-curl?with-curl -dir = / usr / local / lib?with-gd?with-gd-dir = / usr / local?with-gettext?with-jpeg-dir = / usr / local / lib?with-kerberos等
然后我需要在这一行添加?enable-zip。
我甚至找不到运行./configure --help命令的正确位置。
解决方案
@ ujwalarali85
您需要PHP源代码,可以从php.net获得。
然后进入源目录,运行新的configure命令(使用你的启用zip),然后制作&& make install。
@Markus
对不起,我不能准确地告诉你,请简要解释一下。我迫切需要启用ZIP功能。
我有Webmin访问但不知道在哪里以及如何使用enable zip选项运行Configure命令。
非常感谢。
这些是shell命令(也就是CLI)所以你需要一个shell窗口(或终端(窗口),例如由aterm,xterm,?提供)在那里输入。
We have ZZIPlib installed.
My command configure line looks like :
./configure ?with-apxs ?with-curl ?with-curl-dir=/usr/local/lib ?with-gd ?with-gd-dir=/usr/local ?with-gettext ?with-jpeg-dir=/usr/local/lib ?with-kerberos, etc.
Then I need to add ?enable-zip to this line.
I can''t even find the right place to run the ./configure --help command.
解决方案
@ujwalarali85
You need to PHP source, which is available from php.net.
Then cd into the source directory, and run your new configure command (with your enable zip), then make && make install.
@Markus
Sorry I couldn''t get you exactly, please explain in brief. Its very urgent requirement for me to enable ZIP functionality.
I have Webmin access but not know where and how to run Configure command with enable zip option.
Thanks a lot.
these are shell commands (aka CLI) so you need a shell window (or terminal (window), e.g. provided by aterm, xterm, ?) to type it there.
这篇关于如何在linux服务器上使用--enable-zip参数重新编译php?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文