[root@test no-debug-non-zts-20060613]# yum install mhash mhash-*

[root@test no-debug-non-zts-20060613]# cd /root/src/php-5.2.16/ext/mhash/

[root@test mhash]# phpize

[root@test mhash]# ./configure && make && make install

[root@test mhash]# vi /usr/local/lib/php.ini

extension_dir = "/usr/local/lib/php/extensions/no-debug-non-zts-20060613"

[mhash]
extension=mhash.so

추가 작업

[root@test mhash]# apachectl -t
httpd: Could not reliably determine the server's fully qualified domain name, using test.cafe24.com for ServerName
Syntax OK
[root@test mhash]#

[root@test mhash]# apachectl graceful
httpd: Could not reliably determine the server's fully qualified domain name, using test.cafe24.com for ServerName
[root@test mhash]#

http://175.125.93.34/test.php

mhash 검색 옵션 설정되어있는것 확인

+ Recent posts