Re: [PHP] pconnect...

2004-08-02 Thread John W. Holmes
From: bruce [EMAIL PROTECTED]

 since pconnect is not supported in php5, i'm wondering if the issue is
that
 mysql no longer supports the underlying functions to implement pconnect,
or
 if the decision to leave it out was based upon other factors.

 also, is there anybody i can talk to who has looked at the actual code
 within the earlier php4 regarding the pconnect issue?

Are you still on this issue? pconnect() doesn't do what you think it does.
If you want to write you're middle-man database connection manager then
you can use the regular connection method.

---John Holmes...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] pconnect...

2004-08-02 Thread Curt Zirzow
* Thus wrote bruce:
 hi...
 
 since pconnect is not supported in php5, i'm wondering if the issue is that
 mysql no longer supports the underlying functions to implement pconnect, or
 if the decision to leave it out was based upon other factors.

php5 has pconnect.  You're getting mysql/mysqli confused:

  mysql_pconnect();  // valid
  mysqli_pconnect(); // NOT valid

pconnect was removed from the mysqlImproved extension because
it usually causes more problems than it solves. mysqli is only for
mysql database versions = 4.1.2, anything less you will still use
mysql.


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] pconnect...

2004-08-02 Thread bruce
i meant mysqli/php5 regarding pconnect. although, i've since seen
information that leads me to believe htat pconnect would necessarily in and
of itself be my solution.

i'm starting to believe that a real solution for this would have to be
implemented within mysql itself...

-bruce


-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 11:08 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] pconnect...


* Thus wrote bruce:
 hi...

 since pconnect is not supported in php5, i'm wondering if the issue is
that
 mysql no longer supports the underlying functions to implement pconnect,
or
 if the decision to leave it out was based upon other factors.

php5 has pconnect.  You're getting mysql/mysqli confused:

  mysql_pconnect();  // valid
  mysqli_pconnect(); // NOT valid

pconnect was removed from the mysqlImproved extension because
it usually causes more problems than it solves. mysqli is only for
mysql database versions = 4.1.2, anything less you will still use
mysql.


Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] pconnect...

2004-08-02 Thread Ford, Mike [LSS]
-Original Message-
From: bruce
To: 'Curt Zirzow'; [EMAIL PROTECTED]
Subject: RE: [PHP] pconnect...

i meant mysqli/php5 regarding pconnect. although, i've since seen
information that leads me to believe htat pconnect would necessarily in
and
of itself be my solution.
--

No, it wouldn't.  Persistent connections were only ever a way to try and get faster 
connections to the database when the same logon credentials were used repeatedly.  
They DO NOT, DID NOT, AND NEVER HAVE provided the ability to manage transactions over 
multiple pages.  Give up on this tack and go write your middle-man application or 
whatever else you reckon you need to fulfill your requirement.

Cheers!

Mike.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] pconnect...

2004-08-02 Thread bruce
i meant mysqli/php5 regarding pconnect. although, i've since seen
information that leads me to believe that pconnect would not necessarily
in and of itself be my solution.

i'm starting to believe that a real solution for this would have to be
implemented within mysql itself...

-bruce


-Original Message-
From: Curt Zirzow [mailto:[EMAIL PROTECTED]
Sent: Monday, August 02, 2004 11:08 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] pconnect...


* Thus wrote bruce:
 hi...

 since pconnect is not supported in php5, i'm wondering if the issue is
that
 mysql no longer supports the underlying functions to implement pconnect,
or
 if the decision to leave it out was based upon other factors.

php5 has pconnect.  You're getting mysql/mysqli confused:

  mysql_pconnect();  // valid
  mysqli_pconnect(); // NOT valid

pconnect was removed from the mysqlImproved extension because
it usually causes more problems than it solves. mysqli is only for
mysql database versions = 4.1.2, anything less you will still use
mysql.


Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] pconnect...

2004-08-02 Thread Tom Rogers
Hi,

Tuesday, August 3, 2004, 2:24:49 AM, you wrote:
b hi...

b since pconnect is not supported in php5, i'm wondering if the issue is that
b mysql no longer supports the underlying functions to implement pconnect, or
b if the decision to leave it out was based upon other factors.

b also, is there anybody i can talk to who has looked at the actual code
b within the earlier php4 regarding the pconnect issue?

b thanks

b -bruce


One problem I had with pconnect is related to apache children and not being
guaranteed to get the same child on subsequent hits and therefore
getting a different connection anyway (some one elses most likely) and
I also had trouble with setting the current db. This was a long time
ago so things may well have changed, but I did give up trying to use
pconnect.

-- 
regards,
Tom

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php