From: "Meir" on
hello
i compiled php 5.2.5 with vs 2005 and every thing works fine on my computer
, but when i transfered it to another computer i got this error message "the
application failed to initialize properly (0xc0150002) click ok to terminate
the application"
i tried to copy all the redist directory from vs to that computer still no
success.
what else can i do to make it work?
tia
meir


From: Elizabeth M Smith on
Meir wrote:
> hello
> i compiled php 5.2.5 with vs 2005 and every thing works fine on my computer
> , but when i transfered it to another computer i got this error message "the
> application failed to initialize properly (0xc0150002) click ok to terminate
> the application"
> i tried to copy all the redist directory from vs to that computer still no
> success.
> what else can i do to make it work?
> tia
> meir
>
>
errr...no you can't do that just by copying stuff from that directory,
it must be installed properly ;) - it doesn't work because it needs the
proper runtime (this is msvcr80.dll for 2005) Do some reading about
windows side-by-side assemblies for the long version.

You can have them use this installer
http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en

this will make sure the runtime gets put in the right spot in their
windows directory.

Thanks,
Elizabeth
From: "Meir" on
thanks Elizabeth
but i tried that already and it still does not working
Meir

"Elizabeth M Smith" <auroraeosrose(a)gmail.com> wrote in message
news:DE.E8.14120.B84AFE74(a)pb1.pair.com...
> Meir wrote:
>> hello
>> i compiled php 5.2.5 with vs 2005 and every thing works fine on my
>> computer
>> , but when i transfered it to another computer i got this error message
>> "the
>> application failed to initialize properly (0xc0150002) click ok to
>> terminate
>> the application"
>> i tried to copy all the redist directory from vs to that computer still
>> no
>> success.
>> what else can i do to make it work?
>> tia
>> meir
>>
>>
> errr...no you can't do that just by copying stuff from that directory,
> it must be installed properly ;) - it doesn't work because it needs the
> proper runtime (this is msvcr80.dll for 2005) Do some reading about
> windows side-by-side assemblies for the long version.
>
> You can have them use this installer
> http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
>
> this will make sure the runtime gets put in the right spot in their
> windows directory.
>
> Thanks,
> Elizabeth


From: Evan Burkitt on

>Message-ID: <B5.E3.14120.5D48FE74(a)pb1.pair.com>
>To: php-windows(a)lists.php.net
>Reply-To: "Meir" <meir(a)icomsw.com>
>From: "Meir" <meir(a)icomsw.com>
>Date: Sun, 30 Mar 2008 15:16:23 +0300
>Subject: compiling using vs 2005
>
>hello
>i compiled php 5.2.5 with vs 2005 and every thing works fine on my computer
>, but when i transfered it to another computer i got this error message "the
>application failed to initialize properly (0xc0150002) click ok to terminate
>the application"
>i tried to copy all the redist directory from vs to that computer still no
>success.
>what else can i do to make it work?
>tia
>meir

If you compiled PHP yourself be sure you made a release build, not a
debug build (which VS does by default). Debug builds require DLLs
that aren't in the MS redistributables available in the link
Elizabeth gave you.

-eb-

From: "Meir" on

"Evan Burkitt" <evanb(a)edulinksys.com> wrote in message
news:ESS55euwdUTaGmvSVMu00000134(a)mail2.edulinksys.com...
>
>>Message-ID: <B5.E3.14120.5D48FE74(a)pb1.pair.com>
>>To: php-windows(a)lists.php.net
>>Reply-To: "Meir" <meir(a)icomsw.com>
>>From: "Meir" <meir(a)icomsw.com>
>>Date: Sun, 30 Mar 2008 15:16:23 +0300
>>Subject: compiling using vs 2005
>>
>>hello
>>i compiled php 5.2.5 with vs 2005 and every thing works fine on my
>>computer
>>, but when i transfered it to another computer i got this error message
>>"the
>>application failed to initialize properly (0xc0150002) click ok to
>>terminate
>>the application"
>>i tried to copy all the redist directory from vs to that computer still no
>>success.
>>what else can i do to make it work?
>>tia
>>meir
>
> If you compiled PHP yourself be sure you made a release build, not a debug
> build (which VS does by default). Debug builds require DLLs that aren't in
> the MS redistributables available in the link Elizabeth gave you.
>
> -eb-
>
Well i think that im compiling a release build but im not sure , in the
configure phase i didnt add --enable-debug is that sufficient to make a
release build?
Meir