From: operationsengineer1@yahoo.com
To: Przemek Kowalczyk <przemek.ca@gmail.com>
To: pgsql-php@postgresql.org
Subject: Re: php and postgresql on windows
Date: Fri, 3 Feb 2006 13:05:58 -0800 (PST)
Message-ID: <20060203210558.23163.qmail@web33302.mail.mud.yahoo.com> (raw)
In-Reply-To: <4cb3dbb70602031021g31cde247g@mail.gmail.com>
> 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_41772342...
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@yahoo.com
> <operationsengineer1@yahoo.com> wrote:
> > - Przemek Kowalczyk <przemek.ca@gmail.com> wrote:
> >
> > > On 03/02/06, Randy Moller <zoomerz@comcast.net>
> > > 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-php@postgresql.org
Cc: operationsengineer1@yahoo.com, przemek.ca@gmail.com
Subject: Re: php and postgresql on windows
In-Reply-To: <20060203210558.23163.qmail@web33302.mail.mud.yahoo.com>
References: <4cb3dbb70602031021g31cde247g@mail.gmail.com> <20060203210558.23163.qmail@web33302.mail.mud.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox