Re: Weird pdo-mysql behavior

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

 



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.


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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux