extension can't be found
| From: | liug | Date: | Sat, 23 Nov 2002 05:57:34 +0000 |
| Subject: | extension can't be found | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-125711@lists.php.net to get a copy of this message | ||
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