Test intl configuration
merged branch vurtupesz/master (PR #48)

Commits
-------

1868931 Test intl configuration

Discussion
----------

[2.1] Intl - Collator problem on WAMP & PHP 5.3.8

Add recommendation on check

This PR is related to my other on symfony/symfony : https://github.com/symfony/symfony/pull/5021

---------------------------------------------------------------------------

by vurtupesz at 2012-07-23T22:04:48Z

Ok, sorry, it's done !

---------------------------------------------------------------------------

by vurtupesz at 2012-07-24T09:06:22Z

Oh wait !
I seem have the same problem on PHP 5.3.13 ... :(
I try to upgrade to PHP 5.4.X, and look if problem always exists

---------------------------------------------------------------------------

by stof at 2012-07-24T09:49:56Z

@vurtupesz are you using the x86 or the x64 build of WAMP ?
It works for me on 5.3.10, but I switched to the x86 build at the same time. Maybe all their x64 builds are affected ?

---------------------------------------------------------------------------

by vurtupesz at 2012-07-24T09:50:53Z

Yes, I use x64 with WampServer

---------------------------------------------------------------------------

by vurtupesz at 2012-07-24T10:10:00Z

Ok, I did a custom installation of Apache 2.2 / PHP 5.4.5 without WampServer and problem is solved.
I try with a PHP 5.3.X version on my custom installation, view if problem is linked with WampServer or if it's just PHP problem

---------------------------------------------------------------------------

by vurtupesz at 2012-07-24T10:32:59Z

Ok, problem seem to be linked with WampServer.
I tried with PHP 5.3.8 and 5.3.15 on custom configuration ... and no problem !

---------------------------------------------------------------------------

by fabpot at 2012-08-06T08:16:06Z

IIUC, this is only when using Wamp, so the check should take that into account. Is it possible to detect that PHP comes from WampServer?

---------------------------------------------------------------------------

by stof at 2012-08-06T08:49:32Z

@fabpot In fact, I suspect it is more linked to the x64 build than to Wampserver itself. A x86 WAMP works fine, and I think the custom installation tried by @vurtupesz was also a x86 one as the official PHP site does not provide x64 binaries.

---------------------------------------------------------------------------

by vurtupesz at 2012-08-06T08:54:36Z

Oh indeed ! My new WAMP Installation is x86 :/
That's probably the problem ...
Do you know where can I find x64 binaries for test ?

---------------------------------------------------------------------------

by stof at 2012-08-06T08:56:45Z

@vurtupesz As I said above, there is no official x64 binaries for Windows. The PHP team explicitly said they don't want to provide them when I asked. So if you want a x64 build different from the WAMP ones, I think you will have to compile PHP yourself

---------------------------------------------------------------------------

by fabpot at 2012-08-23T13:09:17Z

Any news on this PR?

---------------------------------------------------------------------------

by stof at 2012-08-23T13:16:43Z

Well, a better test would be to detect a x64 build on windows (as 5.3.8 is not the real condition)

---------------------------------------------------------------------------

by fabpot at 2012-08-23T13:17:27Z

You mean that this is about all x64 windows builds?

---------------------------------------------------------------------------

by vurtupesz at 2012-08-23T13:20:43Z

Unfortunately it's difficult to test on a php version x64 without WAMPServer.
For sure, this problem is present on all x64 (5.3.X) builds from WAMPServer.

---------------------------------------------------------------------------

by stof at 2012-08-23T13:22:00Z

it seems to be about all WAMP x64 builds at least.
On the other hand, there is no official x64 build for windows (the PHP team told me it is not even planned) so I'm not sure there is other tools than WAMP providing x64 builds

---------------------------------------------------------------------------

by fabpot at 2012-08-23T13:23:03Z

ok, so let's limit the test to x64 builds and only for people using WAMP servers. Is it possible to detect that the developer is using a WAMP server?

---------------------------------------------------------------------------

by vurtupesz at 2012-08-23T13:28:13Z

There are no information about WampServer in phpinfo()
It's look difficult to test it.

---------------------------------------------------------------------------

by vurtupesz at 2012-08-23T21:45:31Z

I pushed a new test with integration of our discussion

---------------------------------------------------------------------------

by vurtupesz at 2012-08-24T08:34:16Z

I applied @stof 's recommandations

---------------------------------------------------------------------------

by fabpot at 2012-08-24T08:34:29Z

Can you squash you commits before I merge? Thanks.

---------------------------------------------------------------------------

by vurtupesz at 2012-08-24T08:49:13Z

Okay it's done

---------------------------------------------------------------------------

by fabpot at 2012-08-24T08:52:52Z

hmm, something wrong happened, I still see more than one commits. Can you check?

---------------------------------------------------------------------------

by vurtupesz at 2012-08-24T09:14:46Z

Ok, sorry. I'm a github beginner :)
I look at this a little more late

---------------------------------------------------------------------------

by fabpot at 2012-08-24T09:24:23Z

You can have a look at the documentation we have on this topic: http://symfony.com/doc/current/contributing/code/patches.html#rework-your-patch

---------------------------------------------------------------------------

by vurtupesz at 2012-08-24T13:30:51Z

Okay ! Thanks for your help.
It's good now !
tweaked message