Please help me!
Two days ago I installed the latest versions of PostgreSQL, PHP and phpBB. PHP and PostgreSQL both work fine, but the phpBB installer doesn't recognise my PostgreSQL installation! I have no idea why and I've never had this kind of thing before... I'm running on Win2k8 with IIS7.
Any help would be appreciated a lot!
Thanks!
phpBB won't recognise PostgreSQL?
Forum rules
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Temporary forum to obtain support while phpBB.com is offline.
Please use the support forum on phpBB.com
Re: phpBB won't recognise PostgreSQL?
You need to ensure the PHP postgres extension is installed and enabled.
Re: phpBB won't recognise PostgreSQL?
Thanks for the quick reply. Would you be so kind as to tell me how to do that, because I'm not sure. I have a php file that consists of a call to phpinfo() and when loading it, I can see that the config has the --with-postgresql option or whatever it is. But if I scroll down the list, I see no mention of PostgreSQL. The php_postgres.dll file (or whatever it is) is in the ext directory as well as in the same directory as php-cgi.exe.
Do you think it would matter that there is a space in the install directory of PHP? I've never seen it like that before, but the installer had it in C:\Program Files\PHP by default and all I did is add a 5.
Edit:
I've already made the extension=php_postgres.dll line is in the php.ini config file.
Do you think it would matter that there is a space in the install directory of PHP? I've never seen it like that before, but the installer had it in C:\Program Files\PHP by default and all I did is add a 5.
Edit:
I've already made the extension=php_postgres.dll line is in the php.ini config file.
Re: phpBB won't recognise PostgreSQL?
Edit the php.ini file and to enable the extension.
Should need a line such as
it might already exist but be commented out. More info: http://uk.php.net/manual/en/pgsql.setup.php
Should need a line such as
Code: Select all
externsion=php_postgress.dll
Re: phpBB won't recognise PostgreSQL?
Thanks,
It's not commented out. I've already been to the php.net page for installing Postgres but found it utterly useless...
It's not commented out. I've already been to the php.net page for installing Postgres but found it utterly useless...
- A_Jelly_Doughnut
- Registered User
- Posts: 1780
- Joined: Wed Jun 04, 2003 4:23 pm
Re: phpBB won't recognise PostgreSQL?
Have you created a phpinfo() page to ensure that the extension was enabled?
A_Jelly_Doughnut
Re: phpBB won't recognise PostgreSQL?
I have a phpinfo() page, yes, but how do I use it to check that Postgres is enabled? I have already looked through it and I see no mention of PostgreSQL.