[PHP-DEV] can't load the shared extension module in php-4.0.4RC6 From: Rui Hirokawa (louis <email protected>)
Date: 12/16/00

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 <email protected>>
maintainer of japanese PHP manual <hirokawa <email protected>>

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>