Re: php and postgresql on windows

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> Yes I seen that link from another post in the
> archive :)  I looked
> through it already and it didn't  help (although
> very nice tutorials
> for future reference) :(
> 

IF you have apache (set up and test it) and php set up
correctly then enabling pgsql should just be a matter
of enabling extension=php_pgsql.dll in php.ini.

if that doesn't work, then apache and php aren't set
up right.

did you review the apache and php tutorials i linked
or did you just review the pgsql tutorial?  i'm pretty
sure the tutorials work (the whole thing, from start
to finish) b/c i use my setup 5 days a week ;-)

i do go into detail how to ensure that winxp is able
to see all the files it needs to see in order to
function correctly.

perhaps this problem/solution will solve your issue...

http://us.f333.mail.yahoo.com/ym/ShowLetter?MsgId=1760_1356328_48452_3387_1224_0_21678_2458_4177234282&Idx=7&sbox=Inbox&Search=1&YY=18468&inc=100&order=down&sort=date&pos=0&view=a&head=b&box=%40S%40Search

The problem was finally discovered to be with
phpinidir configuration in httpd.conf. Through command
line it was working fine because php was able to find
php.ini in system directory (C:\windows), but apache
wasn't able to find php.ini and thus didn't knew if
php should use any extensions.

Thanks everyone for the help,
-Abhishek

good luck.

 
> On 03/02/06, operationsengineer1@xxxxxxxxx
> <operationsengineer1@xxxxxxxxx> wrote:
> > - Przemek Kowalczyk <przemek.ca@xxxxxxxxx> wrote:
> >
> > > On 03/02/06, Randy Moller <zoomerz@xxxxxxxxxxx>
> > > wrote:
> > > > Actually, the php_pgsql.dll file does NOT
> natively
> > > install on the windows
> > > > CGI distribution. If you installed using the
> > > "installer", then download the
> > > > zip distribution and extract the dll from the
> ext
> > > folder.
> > > >
> > > > Next, if you haven't already done so,
> uncomment
> > > the extension line on
> > > > php.ini, and you should be good to go.
> > > >
> > > > If you installed originally from the
> zip/tar/rar
> > > file, then it should be
> > > > there, yes.
> > > >
> > > > Hope this helps.
> > > It does not work.  Does it matter if I install
> it as
> > > cgi binary or
> > > apache module? I tried both.  The php.ini files
> get
> > > read because I can
> > > see the extension_dir changing for example.
> > > I tried uncommenting the mysql dll in php.ini
> for
> > > fun and and I don't
> > > see anything about mysql in phpinfo.php
> > > Could this be because my drive is F instead of
> c? No
> > > that's stupid eh?
> > >
> >
> > i have detailed apache2, php5 and postgresql8
> winxp
> > install instructions here:
> >
> > http://www.geocities.com/operationsengineer1/
> >
> > since you are mostly set up, you likely can review
> 99%
> > of it without doing anything.  if your isntall
> > deviated from this install, then you can make the
> > adjustment.
> >
> > this is for a cgi install.  i think it is
> sufficient.
> > i've recommended about 5 or so people to it and
> not
> > one has come back with a problem.
> >
> > in addition, search this mailing list for a
> similar
> > problem about within the last few weeks.  someone
> had
> > a similar problem and posted the solution with the
> > last few weeks.
> >
> > good luck.
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
> 
> ---------------------------(end of
> broadcast)---------------------------
> TIP 3: Have you checked our extensive FAQ?
> 
>                http://www.postgresql.org/docs/faq
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux