[PHP]
yum install libxml2-develyum install gd-develyum install libmcrypt-develyum install libcurl-develyum install openssl-develyum install php-soap -y ./configure --prefix=/usr/local/php --enable-cli --enable-shared --with-libxml-dir --with-gd --with-openssl --enable-mbstring --with-mcrypt --with-mysqli --with-mysql --enable-opcache --enable-mysqlnd --enable-zip --with-zlib-dir --with-pdo-mysql --with-jpeg-dir --with-freetype-dir --with-curl --without-pdo-sqlite --without-sqlite3 --enable-fpmmake & make install[Nginx]
./configure --prefix=/usr/local/nginx --without-http_memcached_module --user=nginx --group=nginx --with-http_stub_status_module --with-openssl=/usr/ --with-pcre=/usr/local/src/pcre-8.35 make & make install [Yaf]/usr/local/php/bin/phpize./configure --with-php-config=/usr/local/php/bin/php-configmake && make install //最好放在extension的位置extension=yaf.so//在php.ini文件末尾放置[yaf]yaf.environ = productyaf.library = NULLyaf.cache_config = 0yaf.name_suffix = 1yaf.name_separator = ""yaf.forward_limit = 5yaf.use_namespace = 0yaf.use_spl_autoload = 0