Topic: Connection to host localhost is broken.
I have installed PunBB 1.2.16 on Fedora 8, using PostgreSQL 8.2.5, and Apache 2.2.6. I have got as far as creating the config.php file in the PunBB installation directory.
When I follow the link to the forum, I get the following error message:
An error occurred while loading http://localhost/punbb-forum/index.php:
Connection to host localhost is broken.
I can connect to PostgreSQL on the command line with:
$ psql -d dbname -U username
and enter the password at the prompt.
I have disabled passwords in pg_hba.conf. Still cannot connect though.
This is the output from phpinfo for Postgres:
pgsql
PostgreSQL Support enabled
PostgreSQL(libpq) Version 8.2.5
Multibyte character support enabled
SSL support disabled
Active Persistent Links 0
Active Links 0
Directive Local Value Master Value
pgsql.allow_persistent On On
pgsql.auto_reset_persistent Off Off
pgsql.ignore_notice Off Off
pgsql.log_notice Off Off
pgsql.max_links Unlimited Unlimited
pgsql.max_persistent Unlimited Unlimited
Any ideas what is happening please?
I don't get this error when accessing the installation script, install.php. Directory listings are working for the PunBB installation dir as well.