1. Install httpd> mysql> php> xcache. First, Apache httpd universal binary installation.
1. source code package.
Apr-1.5.1.tar.gz # Apache Portable Runtime compatible program for different operating systems
Apr-util-1.5.3.tar.gz
Httpd-2.4.9.tar.gz
2. Start installation.
[[Email protected] ~] # Yum-y groupinstall "development tools" # Install the development tool [[email protected] ~] # Yum-y groupinstall "additional development" [[email protected] ~] # Tar-zxvf apr-1.5.1.tar.gz [[email protected] ~] # Cd apr-1.5.1 [[email protected] apr-1.5.1] #. /configure -- prefix =/usr/local/APR [[email protected] apr-1.5.1] # Make [[email protected] apr-1.5.1] # make install [[email protected] ~] # Tar-zxvf apr-util-1.5.3.tar.gz [[email protected] ~] # Cd apr-util-1.5.3 [[email protected] apr-util-1.5.3] #. /configure -- prefix =/usr/local/APR-util -- With-Apr =/usr/local/APR [[email protected] apr-util-1.5.3] # Make [[email protected] apr-util-1.5.3] # Make install [[email protected] ~] # Tar-zxvf httpd-2.4.9.tar.gz [[email protected] ~] # Cd httpd-2.4.9 [[email protected] httpd-2.4.9] #. /configure -- prefix =/usr/local/Apache -- sysconfdir =/etc/httpd -- enable-so -- enable-Rewrite -- enable-SSL -- enable-CGI -- enable-cgid -- enable -mod-shared = most -- enable-MPMs-shared = all -- With-Apr =/usr/local/APR -- With-Apr-util =/usr/local/APR-utilconfigure: error: PCRE-config for libpcre not found. PCRE is required and available from [[email protected] httpd-2.4.9] # Yum-y install PCRE-devel # Install missing dependency packages [[email protected] httpd-2.4.9] # Make [[email protected] httpd-2.4.9] # make install