Database extensions - none problem

Having trouble installing serendipity?
Post Reply
hellopradee
Posts: 2
Joined: Mon Feb 20, 2006 6:49 am

Database extensions - none problem

Post 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)
Pradeep.C
randulo
Regular
Posts: 141
Joined: Thu Jul 21, 2005 10:28 am

Re: Database extensions - none problem

Post 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?
hellopradee
Posts: 2
Joined: Mon Feb 20, 2006 6:49 am

Post 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.
Pradeep.C
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
yjchen
Posts: 3
Joined: Mon Mar 06, 2006 6:07 pm

Post 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.
Post Reply