こんなエラーがでてコンパイルできない場合
make: *** [ext/openssl/openssl.lo] Error 1
古いバージョンのopenssl 0.98 を入れなおす
wget ftp://ftp.openssl.org/snapshot/openssl-0.9.8-stable-SNAP-20121213.tar.gz
tar xvzf openssl-0.9.8-stable-SNAP-20121213.tar.gz
cd openssl-0.9.8-stable-SNAP-20121213
./config –prefix=/usr/local shared -fPIC
make
make install
./configure –with-libdir=lib64 –with-apxs2=/usr/local/apache2/bin/apxs –enable-magic-quotes –enable-mbregex –enable-mbstring –enable-zend-multibyte –with-mysql=/usr/local/mysql –with-zlib –with-gd –with-gettext –with-jpeg-dir –with-png-dir –with-iconv-dir=/usr/lib –disable-pdo –with-curl –with-openssl=/usr/local/include
./configure –with-libdir=lib64 –with-apxs2=/usr/local/apache2/bin/apxs –enable-magic-quotes –enable-mbregex –enable-mbstring –enable-zend-multibyte –with-mysql=/usr/local/mysql –with-zlib –with-gd –with-gettext –with-jpeg-dir –with-png-dir –with-iconv-dir=/usr/lib –disable-pdo –with-curl –with-openssl
make
make install