You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Erwin Manurung <cr...@gmail.com> on 2006/05/10 14:19:47 UTC

[users@httpd] PHP Connection

Hi,

I need help to create a connection pooling from PHP to Mysql database,
using Apache 2.x as the web server,
Any idea about this ??

thx first,

rgrds,

Re: [users@httpd] PHP Connection

Posted by Erwin Manurung <cr...@gmail.com>.
recently, I've change my mind to use SQL Server instead, using ODBC
Connection,
not PHP built in function, in the datasource window (I'm using windows),
there is an "Connection Pooling" tab,
is there good enough to rely on this step ??
any suggestion ?
thx

rgrds,
Erwin

On 5/10/06, Nick Kew <ni...@webthing.com> wrote:
>
> On Wednesday 10 May 2006 13:19, Erwin Manurung wrote:
> > Hi,
> >
> > I need help to create a connection pooling from PHP to Mysql database,
> > using Apache 2.x as the web server,
> > Any idea about this ??
>
> Yes.  As soon as PHP supports the mod_dbd and apr_dbd API, you'll
> have that for free.
>
> But bear in mind that connection pooling is only relevant in a threaded
> environment, and PHP + threads is bad news.
>
> --
> Nick Kew
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

Re: [users@httpd] PHP Connection

Posted by Nick Kew <ni...@webthing.com>.
On Wednesday 10 May 2006 13:19, Erwin Manurung wrote:
> Hi,
>
> I need help to create a connection pooling from PHP to Mysql database,
> using Apache 2.x as the web server,
> Any idea about this ??

Yes.  As soon as PHP supports the mod_dbd and apr_dbd API, you'll
have that for free.

But bear in mind that connection pooling is only relevant in a threaded
environment, and PHP + threads is bad news.

-- 
Nick Kew

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] PHP Connection

Posted by Bjørge Solli <bj...@gmail.com>.
http://www.easyphp.org/

On Wednesday 10 May 2006 14:26, Erwin Manurung wrote:
> Thx,
> but I'm using Apache 2.0 installer for Windows :D ,
> so how can I configure or s'thing I can do, to get the same result,
>
> rgrds,
>
> On 5/10/06, Indraveni <in...@yahoo.co.in> wrote:
> > while compiling php, you need to give --with-mysql=<path where mysql is
> > located> option.
> >
> > ./configure --with-apxs --with-mysql=path
> >
> >
> > *Erwin Manurung <cr...@gmail.com>* wrote:
> >
> > Hi,
> >
> > I need help to create a connection pooling from PHP to Mysql database,
> > using Apache 2.x as the web server,
> > Any idea about this ??
> >
> > thx first,
> >
> > rgrds,
> >
> >
> > ------------------------------
> > Yahoo! India Answers: Share what you know. Learn something new. Click
> > here<http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.answers.yahoo.
> >com> Send instant messages to your online friends -
> > NOW<http://messenger.yahoo.com/download.php;_ylt=Ah5_.LTcbbJtYrNKnfM5e6xw
> >MMIF>

-- 
Bjørge

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] PHP Connection

Posted by Indraveni <in...@yahoo.co.in>.
Oops...
 
 I am used to Linux environment and never worked in Windows system. 
 But I think the following link may help you.
 
 http://www.php.net/mysql
 
 Let me  know if you need any..
 
 Regards
 Indraveni

Erwin Manurung <cr...@gmail.com> wrote: Thx,
 but I'm using Apache 2.0 installer for Windows :D ,
 so how can I configure or s'thing I can do, to get the same result,
 
 rgrds,

On 5/10/06, Indraveni <in...@yahoo.co.in> wrote: while compiling php, you need to give --with-mysql=<path where mysql is located> option.
 
 ./configure --with-apxs --with-mysql=path 
 

Erwin Manurung <cr...@gmail.com> wrote:  Hi,
 
 I need help to create a connection pooling from PHP to Mysql database,
 using Apache 2.x as the web server,
 Any idea about this ??
 
 thx first,
 
 rgrds,
 
 
 
        

---------------------------------
 Yahoo! India Answers: Share what you know. Learn something new. Click here 
 Send instant messages to your online friends - NOW 



 

				
---------------------------------
Yahoo! India Answers: Share what you know. Learn something new. Click here
Send instant messages to your online friends - NOW

Re: [users@httpd] PHP Connection

Posted by Erwin Manurung <cr...@gmail.com>.
Thx,
but I'm using Apache 2.0 installer for Windows :D ,
so how can I configure or s'thing I can do, to get the same result,

rgrds,

On 5/10/06, Indraveni <in...@yahoo.co.in> wrote:
>
> while compiling php, you need to give --with-mysql=<path where mysql is
> located> option.
>
> ./configure --with-apxs --with-mysql=path
>
>
> *Erwin Manurung <cr...@gmail.com>* wrote:
>
> Hi,
>
> I need help to create a connection pooling from PHP to Mysql database,
> using Apache 2.x as the web server,
> Any idea about this ??
>
> thx first,
>
> rgrds,
>
>
> ------------------------------
> Yahoo! India Answers: Share what you know. Learn something new. Click here<http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.answers.yahoo.com>
> Send instant messages to your online friends - NOW<http://messenger.yahoo.com/download.php;_ylt=Ah5_.LTcbbJtYrNKnfM5e6xwMMIF>
>
>

Re: [users@httpd] PHP Connection

Posted by Indraveni <in...@yahoo.co.in>.
while compiling php, you need to give --with-mysql=<path where mysql is located> option.
 
 ./configure --with-apxs --with-mysql=path 

Erwin Manurung <cr...@gmail.com> wrote: Hi,
 
 I need help to create a connection pooling from PHP to Mysql database,
 using Apache 2.x as the web server,
 Any idea about this ??
 
 thx first,
 
 rgrds,
 
 

				
---------------------------------
Yahoo! India Answers: Share what you know. Learn something new. Click here
Send instant messages to your online friends - NOW