Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I install the i686 php package on an x86_64 architecture?

share|improve this question
Why do you want to do this? – womble Aug 9 '12 at 10:10
We are dependant on having a working xdebug package. When using it in our x86_64 environment we are getting segfaults caused by "something". Same installation, but i686, works fine. Therefore, we would like to have an i686 install of php but still have the option of using x86_64 for other things. Related bug is Combination of x86_64, xdebug, ZF1 autoloading and PHP 5.4. – c0dem4gnetic Aug 9 '12 at 10:20
up vote 3 down vote accepted

RHEL support multiarch, so you should just be able to install the i686 package with yum:

yum install php.i686

That should drag in the appropriate dependencies and everything. You may need to add the 32-bit repositories, if they aren't already included.

share|improve this answer
I was missing the repositories, thank you. – c0dem4gnetic Aug 9 '12 at 10:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.