[PHP] extension can't be found

2002-11-22 Thread liug

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?

Thanks!
Frank



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] extension can't be found

2002-11-08 Thread liug
it seems my last post failed, let me try again:

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?

Thanks!
Frank


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php