Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
1  
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 bugs.xdebug.org/view.php?id=857. Combination of x86_64, xdebug, ZF1 autoloading and PHP 5.4. –  c0dem4gnetic Aug 9 '12 at 10:20

1 Answer 1

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

 
discard

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.