We help IT Professionals succeed at work.

how to compile 64 bits apache and php

Medium Priority
Last Modified: 2013-12-15
Systeme : GNU/Linux Debian 4.0r2 (Etch) amd64
I want can compile 64 bits apache and php.
when i use simple :
make install

this compiling for 64bits ?
or is necessary to make other ?
Watch Question

Compiling Apache using a 64-bit GNU toolchain will produce a 64-bit Apache binary.  If you wan to double check the resulting httpd binary before you run 'make install', try this:

cd your-apache-source/
file .libs/httpd

The output from the 'file' command will tell you if it's 64-bit or 32-bit.

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
apt-get install checkinstall

go in to the source directory and type:

use checkinstall for custom-compiled packages in the future. checkinstall produces a .deb and helps you delete it completely after you don't need it anymore

Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.