PHP - установка модуля htscanner для использования php value в режиме CGI/FCGI

Материал из Wiki - Iphoster - 'the best ever support'

Перейти к: навигация, поиск

Доступная цена

PHP - установка модуля htscanner на CentOS для использования php value в режиме CGI/FCGI

# wget
# rpm -qa | grep autoconf
# tar -xf htscanner-0.9.0.tgz
# cd htscanner-0.9.0
# phpize
# ./configure
# make
# php -i | grep no-de
# cp /root/htscanner-0.9.0/modules/ /usr/lib/php/extensions/no-debug-non-zts-20090626/
# make install
# vi /usr/local/lib/php.ini
; The configuration file htscanner needs to scan for php_* directives
; The fallback docroot when htscanner can't determine the current docroot
; Stop when an error occured in RINIT (no document root, cannot get path_translated,...)
stop_on_error = 0

# /etc/init.d/httpd restart

Проверяем через phpinfo:

htscanner support	enabled
extension version	0.9.1-dev 
CVS Id	$Id: htscanner.c,v 1.25 2009/03/04 00:40:16 pajoye Exp $
Directive	Local Value	Master Value
htscanner.config_file	.htaccess	.htaccess
htscanner.default_docroot	/	/
htscanner.default_ttl	300	300
htscanner.stop_on_error	0	0

Screenshot htscanner.png

Индекс цитирования