Liug wrote:
Nothing is wrong at all, the default setting in php.ini-dist is that you can load your modules from the current directory, this is needed for some users to provide them with loadable module support on ISPs; if you comment it out it uses the default in the code, which points to "/usr/local/lib/php/extensions/no-debug-non-zts-20020429".I just compiled/installed apache/php4.2.3 with postgres support. the default php.ini-dist is used. I added extension=pgsql.so but when I start apache, error_log shows it can't find pgsql.so.after some trial and error, I found the following line in the default php.ini causes the problem: extension_dir = ./ if I comment this line out, apache can load pgsql.so fine. I also tried to change to extension_dir = /usr/local/lib/php/extensions/no-debug-non-zts-20020429 this also solves the problem. My question is: is the default value in php.ini incorrect or am I doing something wrong?
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - The PHP Magazine for Professionals - http://php-mag.net/
-------------------------------------------------------------------------
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php