Re: Weird pdo-mysql behavior
| From: | Martijn Korse | Date: | Thu, 13 Nov 2008 11:02:54 +0000 |
| Subject: | Re: Weird pdo-mysql behavior | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-283244@lists.php.net to get a copy of this message | ||
What do you mean with 'stops working'?
Also, have you created a test-script that only contains (what you think is)
the core-problem? If so, can you paste it here? And if not, i advise you to
make one, so you can exclude that other factors play a role here.
Thodoris wrote:
>
> Hi list,
> I am developing something using PDO and I've noticed something weird
> that I want to share with you. I am creating a database handler in a
> script and I pass the handler to many functions I use in order to avoid
> creating a new connection into the function itself. Although this works
> in a compiled LAMP I have, this stops working when I use a prepackaged
> version of another LAMP I have.
>
> If I change the script in the non-working system and make the connection
> from inside the function using a new handler then everything works like
> a charm.
>
> Is there a chance that I am using a different configuration in say
> php.ini that can cause such behavior.
>
> Let me know what you think.
>
> --
> Thodoris
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>
-----
http://devshed.excudo.net http://devshed.excudo.net
--
View this message in context: http://www.nabble.com/Weird-pdo-mysql-behavior-tp20478083p20478667.html
Sent from the PHP - General mailing list archive at Nabble.com.