Page 1 of 1

Database extensions - none problem

Posted: Mon Feb 20, 2006 6:54 am
by hellopradee
Hi all,

I am getting "Database extensions - none" as an error in the first page under PHP installation.I have been through similar posts in this forum, but I cant get the solution.

Please help me to solve the issue.

My system information:

PHP installation

Operating system Linux 2.6.15-dcc-smp, i686
Webserver SAPI pache2handler
PHP version >= 4.1.2 Yes, 4.3.10-15
Database extensions none
Session extension Yes
PCRE extension Yes
GDlib extension No
OpenSSL extension Yes
mbstring extension Yes
iconv extension Yes
zlib extension Yes
Imagemagick binary Not found

I have installed PostgreSQL.

Thank you for any good solutions. 8) 8)

Re: Database extensions - none problem

Posted: Mon Feb 20, 2006 8:31 am
by randulo
hellopradee wrote: I am getting "Database extensions - none" as an error in the first page under PHP installation.I have been through similar posts in this forum, but I cant get the solution.

I have installed PostgreSQL.
Have you installed the php module to talk to the database?

Posted: Mon Feb 20, 2006 9:55 am
by hellopradee
Hi randulo,

thx for ur reply.

What is php module ?

I am using Linux 2.6.15-dcc-smp, i686.

the php4 is already there. and the php.ini file is in the following path /etc/php4/apache2.

is it not enough to run php.

Posted: Mon Feb 20, 2006 10:05 am
by garvinhicking
When serendipity tells you that no database extensions have been found, you installed none on your PHP.

It does not suffice that your system has postgreSQL installed, you also need to install the postgresql extension for PHP. Either compile it into PHP or load it as an external module. That depends on how you configured your PHP.

If using debian, you might try something like "apt-get install php-pgsql". or "php-postgresql", I don't know how the package is called.

Regards,
Garvin

Posted: Mon Mar 06, 2006 6:19 pm
by yjchen
garvinhicking wrote:When serendipity tells you that no database extensions have been found, you installed none on your PHP.

It does not suffice that your system has postgreSQL installed, you also need to install the postgresql extension for PHP. Either compile it into PHP or load it as an external module. That depends on how you configured your PHP.

If using debian, you might try something like "apt-get install php-pgsql". or "php-postgresql", I don't know how the package is called.

Regards,
Garvin
It is called "apt-get install php4-pgsql". Then reboot.