Установка pecl yaf - php framework

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Перейти к:навигация, поиск
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Самые выгодные сервера‎


Установка pecl yaf - php framework

YAF framework install for php 5.5 via pecl:

# /usr/local/php5/bin/pecl config-set bin_dir /usr/local/php55/bin
# /usr/local/php5/bin/pecl config-set php_bin /usr/local/php55/bin/php
# /usr/local/php5/bin/pecl install -f yaf
Build process completed successfully
Installing '/usr/local/php55/lib/php/extensions/no-debug-non-zts-20121212/yaf.so'
install ok: channel://pecl.php.net/yaf-2.2.9
configuration option "php_ini" is not set to php.ini location
You should add "extension=yaf.so" to php.ini

Подключаем модуль для php 5.5:

# vi /usr/local/etc/php55/cgi/php.ini
extension=yaf.so
# /etc/init.d/httpd restart