力阿帕奇的httpd在运行32位 [英] Force Apache HTTPD to run in 32bit

查看:123
本文介绍了力阿帕奇的httpd在运行32位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经被从二进制剥离出来的32位架构(连同PPC部分)运行Apache的httpd在64位模式。我这样做是为了使之成为蟒蛇和mysql的兼容性更好。

I have been running Apache HTTPD in 64bit mode by stripping out the 32bit architecture from the binary (along with the ppc parts). I did this to make it more compatible for python and mysql.

不过,我有一个需要它在32位模式(它拥有所有四个原有的架构仍然在它)来运行,另一台机器。是否有可能,以确保它在32位模式,并且任何反对它编译运行采用上述模式。

However I have another machine that needs it to be run in 32bit mode (it has all four original architectures still in it). Is it possible to make sure that it is running in 32 bit mode and that anything compiled against it uses said mode.

是我的选择局限于剥离它,还是有启动optiosn,我不知道。

Are my options limited to stripping it, or are there start up optiosn that I do not know about.

推荐答案

您可以使用的 弓(1) 命令更改使用哪种架构。这将首​​先尝试的英特尔32位,然后PPC 32位:

You can use the arch(1) command to change the which architecture is used. This will try Intel 32-bit first and then PPC 32-bit:

% arch -i386 -ppc /usr/sbin/httpd

这篇关于力阿帕奇的httpd在运行32位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆