can't load the shared extension module in php-4.0.4RC6
| From: | Rui Hirokawa | Date: | Sat, 16 Dec 2000 08:22:31 +0000 |
| Subject: | can't load the shared extension module in php-4.0.4RC6 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-41565@lists.php.net to get a copy of this message | ||
I install the php-4.0.4RC6 in Redhat-6.2 based Linux system.
I made the shared extension module for PostgreSQL and some other modules,
but I couldn't load these module dynamically.
I compiled the module as follows,
-> phpize
-> ./configure --with-pgsql
-> make install
And,I defined the extension directory in /usr/local/lib/php.ini,
extension_dir = /usr/local/lib/php/extensions/no-debug-non-zts-20001214;
extension=pgsql.so
It worked fine in php-4.0.3pl1, but not work in php-4.0.4RC6.
For examples, If executed php in command line, the warning
is caused and the shared module (pgsql.so) couldn't be loaded.
-> /usr/local/bin/php -v
Content-type: text/html
PHP Warning: Invalid library (maybe not a PHP library) 'pgsql.so' in Unknown on line 0
4.0.4RC6
--
----------------------------------------------------------
Rui Hirokawa <louis@cityfujisawa.ne.jp>
maintainer of japanese PHP manual <hirokawa@php.net>