Re: libxml2/threading/win 2003
| From: | Steph Fox | Date: | Sat, 02 Sep 2006 15:57:08 +0000 |
| Subject: | Re: libxml2/threading/win 2003 | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-25506@lists.php.net to get a copy of this message | ||
Wouldn't it make more sense to leave things as they are until 5.3.0? That will at least give John's msi some serious testing, and it looks very promising indeed at present.
----- Original Message ----- From: "Andi Gutmans" <andi@zend.com>
To: "'Steph Fox'" <steph@zend.com>; "'Rob Richards'" <rrichards@ctindustries.net>
Cc: "'Edin Kadribasic'" <edink@emini.dk>; <internals@lists.php.net>
Sent: Saturday, September 02, 2006 5:48 PM
Subject: RE: [PHP-DEV] libxml2/threading/win 2003
We need to fix that then. And we might need to do something a bit smarter for php5isapi.dll. I'll think about it but need to leave now for the weekend. I don't think my explanation covered this issue but only the CGI. I prefer trying to resolve the issues in a long term way than making the wrong decision now re: bundling. Andi-----Original Message----- From: Steph Fox [mailto:steph@zend.com] Sent: Saturday, September 02, 2006 8:34 AM To: Andi Gutmans; 'Rob Richards' Cc: 'Edin Kadribasic'; internals@lists.php.net Subject: Re: [PHP-DEV] libxml2/threading/win 2003 Andi - the old msi didn't even install extensions. The new one's still in beta. ----- Original Message ----- From: "Andi Gutmans" <andi@zend.com> To: "'Rob Richards'" <rrichards@ctindustries.net> Cc: "'Edin Kadribasic'" <edink@emini.dk>; <internals@lists.php.net> Sent: Saturday, September 02, 2006 5:33 PM Subject: RE: [PHP-DEV] libxml2/threading/win 2003Yeah but Windows is very friendly and designed for this. Aslong as thedlls are in the application's directory you will not haveproblems. This isactually much easier and straightforward than on Linux soit sounds to methat dll clashing problems (which doesn't happen in thiscase) means thateither the .zip or the .msi were just putting the dll notin the rightplace. That's an easy fix. Seriously, if there's one thing that Windows is good at isin a friendlydll search order. They designed it so that you can keep dllswith the app.-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php __________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.comI don't understand what problems you mean. On the contrary,-----Original Message----- From: Rob Richards [mailto:rrichards@ctindustries.net] Sent: Saturday, September 02, 2006 8:17 AM To: Andi Gutmans Cc: 'Edin Kadribasic'; internals@lists.php.net Subject: Re: [PHP-DEV] libxml2/threading/win 2003 I am on the fence one this one. Going the dll route makes my life easier by no longer needing to maintain those builds, but will almost certainly increase the number of bogus bugs to be chased down and cause the windows installation to be more complicated again (Just doing a search you can find tons of people having problems just enabling extensions due to dll requirements). Of course my personal opinion at this point would be to just go the dll route because the burden gets put on someone else then to deal with alot of the issues :) Andi Gutmans wrote:linking in everything makes the system extremely unflexible and doesn't allow you to upgrade dlls without having to upgradestaticallyPHP build. If libxml2.dll is placed in the same directory as php5ts.dll I don't see where the problems would come from.the wholedifferentThe problem from the user side always ends up being installation and dll maintenance. It is also quite possible that another module would load aOn Windows, performance also isn't impacted by dll vs. non-dll as you'll always have position dependent code and worst caselibxml2 dll, causing XML in PHP to operate differently between running it cli vs under apache. This also requires the iconv dll (assuming that would no longer be statically linked either). It could also require zlib depending up where they got their libxml2 dll from. These were some of the things that statically linking libxml eliminated.will relocate the dll.the linkerI feel strongly that statically linking 3rd party libraries and PHP extensions such as PDO into php5ts.dll will lead to morePerformance issues never factored into the decision.to lack of flexibility in people's install. It's a reallyproblems duedecision and I just don't understand how this happened.bad designYou don't remember the bundling war? It was eventually removed I believe just due to the additional size. The windows build really didn't matter because either the dll needed to be distributed or it would be linked in statically. Rob__________ NOD32 1.1380 (20060125) Information __________ This message was checked by NOD32 antivirus system. http://www.eset.com