Unable to install phpMyFAQ

In this board you can talk about general questions about phpMyFAQ

Moderator: Thorsten

Post Reply
manoharcr
Posts: 3
Joined: Tue May 17, 2011 10:23 am

Unable to install phpMyFAQ

Post by manoharcr »

Hi,

I am trying to install PhpMyFAQ on my WIndows XP machines.
Following pre-requiste software i have.
postgresql-8.4.8-1-windows
Apache Web server(httpd-2.2.18-win32-x86-no_ssl-r2)
PHP (php-5.3.6-Win32-VC9-x86)

I am trying to install PHPMyFAQ with the version 2.6.15. As suggested in instruction i unpacked the zip file then i placed zip file content under
C:\Program Files\Apache Software Foundation\Apache2.2\htdocs\faq
I started the installation with the command "http://mywebserver.com/faq/install/setup.php", it is showing error has "No supported database detected! Please install one of the following database systems and enable the corresponding PHP extension".
When i checked php.ini file,(Start>programs>PHP>php.ini), extension_dir is C:\program files\php\ext, and at the bottom of the .ini file i can see the extension also as
[PHP_PGSQL]
extension=php_pgsql.dll

Could you please tell me why i am getting this error?

Manohar
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Unable to install phpMyFAQ

Post by Thorsten »

Hi,

did you restart your Apache webserver after enabling the PostgreSQL extension?

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
manoharcr
Posts: 3
Joined: Tue May 17, 2011 10:23 am

Re: Unable to install phpMyFAQ

Post by manoharcr »

Hi,
Yes, i restarted apache web server.
As i listed, have i downloaded the proper versions?

Also as instructed, i checked myinfo.php. It shows correct php version has 5.3.6 and it shows extension_dir=c:\php, but my extension dir is c:\program files\php\ext as per php.ini files

Manohar
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Unable to install phpMyFAQ

Post by Thorsten »

Hi,

then you have to change the extension directory otherwise PHP cannot load the PostgreSQL module.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
manoharcr
Posts: 3
Joined: Tue May 17, 2011 10:23 am

Re: Unable to install phpMyFAQ

Post by manoharcr »

Hi

Really confusing, how to change the extension directory? Which file i have to edit?? I am trying this at my office.


Also, i tried at my home computer. After all steps if i execute http://localhost/ftp/install/setup.php it is opening the php file, its not running as web app. I restarted tomcat server also.. still it happens

Manohar
Thorsten
Posts: 15834
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Unable to install phpMyFAQ

Post by Thorsten »

Hi,

you can change the extension directory in the php.ini file on your system.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Post Reply