wget httpd-2_x_nn.tar.gz
tar -zxvf httpd-2_x_nn.tar.gz
cd httpd-2_x_nn
./configure --enable-so --prefix=/path/to/apache/want/to/install
make
make install
wget php-nn.tar.gz
tar -zxvf php-nn.tar.gz
cd php-nn
./configure --enable-opcache --with-apxs2=/path/to/apache/bin/apxs --prefix=/path/to/php/want/to/install
make
make install
cp php.ini-development /path/to/php/lib/php.ini
vi apache/conf/httpd.conf
change listen port
change documentRoot or alias path
LoadModule php5_module modules/libphp5.so
<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>
vi /path/to/php/lib/php.ini
+ zend_extension=opcache.so