pls help: add new extension to PHP (rpm) on RedHat

From: Date: Thu, 15 Nov 2001 11:49:06 +0000
Subject: pls help: add new extension to PHP (rpm) on RedHat
Groups: php.general 
Request: Send a blank email to php-general+get-74698@lists.php.net to get a copy of this message
Hello, I'm using PHP 4.0.4pl1-9 on RedHat 7.1. The software was installed using rpm. I'd like to add the mhash extension without re-installing the entire PHP package from source. So i try following steps: - install mhash from source - obtain PHP source directory, then cd ext/mhash phpize ./configure --with-mhash make make install (found /usr/lib/php4/mhash.so ready) - uncomment the line with mhash.so in /etc/php.ini However, when i tried the sample in PHP manual, it failed to call mhash() with following error messages: PHP Warning: Invalid library (maybe not a PHP library) 'mhash.so' in Unknown on line 0 Did i use the wrong procedure ? I'm new to PHP and sorry for the newbie faq. Thanks in advance. ST Wong -- S.T. Wong | Email: st-wong@cuhk.edu.hk

« previous php.general (#74698) next »