compiling using vs 2005

compiling using vs 2005

am 30.03.2008 14:16:23 von Meir

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



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

Re: compiling using vs 2005

am 30.03.2008 17:32:39 von Elizabeth M Smith

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=32B C1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en

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

Thanks,
Elizabeth

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

Re: compiling using vs 2005

am 31.03.2008 09:51:27 von Meir

thanks Elizabeth
but i tried that already and it still does not working
Meir

"Elizabeth M Smith" wrote in message
news:DE.E8.14120.B84AFE74@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=32B C1BEE-A3F9-4C13-9C99-220B62A191EE&displaylang=en
>
> this will make sure the runtime gets put in the right spot in their
> windows directory.
>
> Thanks,
> Elizabeth



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

Re: compiling using vs 2005

am 31.03.2008 20:04:32 von Evan Burkitt

>Message-ID:
>To: php-windows@lists.php.net
>Reply-To: "Meir"
>From: "Meir"
>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-


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

Re: compiling using vs 2005

am 01.04.2008 08:33:33 von Meir

"Evan Burkitt" wrote in message
news:ESS55euwdUTaGmvSVMu00000134@mail2.edulinksys.com...
>
>>Message-ID:
>>To: php-windows@lists.php.net
>>Reply-To: "Meir"
>>From: "Meir"
>>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



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