Installing PHP 4.0.4 w/libmcrypt-2.4.8 & mhash-0.8.5 got a problem..
| From: | Keiran Tai | Date: | Wed, 10 Jan 2001 09:31:27 +0000 |
| Subject: | Installing PHP 4.0.4 w/libmcrypt-2.4.8 & mhash-0.8.5 got a problem.. | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-1533@lists.php.net to get a copy of this message | ||
Dear all,
I have got the following problem, please kindly help.
The problem was caused that when I compiled Apache 1.3.14 with DSO, which is running properly. And
then I compiled PHP 4.0.4 is also running properly.
However, I tried to compile PHP 4.0.4 with libmcrypt 2.4.8 and mhash 0.8.5 by this configure
(./configure --with-apxs=[path to apxs of apache] --enable-memory-limit=yes --enable-debug=no
--enable-track-vars --with-mysql --enable-ftp --enable-bcmath --enable-calendar
--with-mcrypt=/usr/local/lib --with-mhash=/usr/local/lib --enable-wddx); The
"libmcrypt.so.4" and "libmhash.so.2" files stored in /usr/local/lib, then I
tested the apache (apachectl configtest)... I got the error message:
Syntax error on line 238 of /www/apache/conf/httpd.conf:
Cannot load /www/apache/libexec/libphp4.so into server: libmhash.so.2: cannot op
en shared object file: No such file or directory
If I didn't compile with mcrypt or mhash, the apache and php are running properly. But the file
"libmhash.so.2" is in /usr/local/lib, either I config without the path (--with-mhash) it
also failed.
Please help ... Thank you!
Regards,
Keiran Tai
Email: keiran@billionsmart.com
---------------------------------------
Billion Smart Enterprises Ltd.
Tel: 27628223 Fax: 27628121o