Re: [PHP-WIN] Build your own PHP on Windows
[email protected] (Sascha M) Sun, 20 Apr 2025 10:34:06 +0200 (GMT+02:00)
| Newsgroups | php.windows |
|---|---|
| Message-ID | <[email protected]> |
------=_Part_3_160484647.1745138046904 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi, On Windows, you would use SET rather than setenv, as described here: https://superuser.com/questions/212150/how-to-set-env-variable-in-windows-c= md-line Happy Easter! BR, Sascha 20.04.2025 03:26:05 William Torrez Corea <[email protected]>: > I am following the instructions of this tutorial: >=20 > https://wiki.php.net/internals/windows/stepbystepbuild >=20 > I installed Visual Studio 2012 Express for Windows Desktop and have > php-5.5.0-nts-Win32-VC11-x64[https://windows.php.net/downloads/releases/a= rchives/php-5.5.0-nts-Win32-VC11-x64.zip] >=20 > I am in this step of the tutorial: >=20 >> If compiling PHP 5.5 or 5.6 open the "VS2012 x86 Native Tools Command Pr= ompt" >=20 > But i am=C2=A0disoriented execute the following command >=20 > setenv /x86 /xp /release >=20 > I get the following result: >=20 > 'setenv' is not recognized as an internal or external command, > operable program or batch file. >=20 > --=20 >=20 > With kindest regards, William. >=20 > /Larry Wall invented a messy programming language -- and changed the face= of the Web/ >=20 ------=_Part_3_160484647.1745138046904 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <html> <head> <meta name=3D"viewport" content=3D"width=3Ddevice-width, initial-scale=3D= 1.0"> </head> <body> <span dir=3D"ltr" style=3D"margin-top:0; margin-bottom:0;">Hi,</span> <br> <br><span dir=3D"ltr" style=3D"margin-top:0; margin-bottom:0;">On Windows= , you would use SET rather than setenv, as described here:</span> <br> <br><span dir=3D"ltr" style=3D"margin-top:0; margin-bottom:0;">https://su= peruser.com/questions/212150/how-to-set-env-variable-in-windows-cmd-line</s= pan> <br> <br><span dir=3D"ltr" style=3D"margin-top:0; margin-bottom:0;">Happy East= er!</span> <br> <br><span dir=3D"ltr" style=3D"margin-top:0; margin-bottom:0;">BR, Sascha= </span> <br> <div class=3D"fairemail_quote"> <div dir=3D"ltr"> <p>20.04.2025 03:26:05 William Torrez Corea <[email protected]&g= t;:</p> </div> <blockquote style=3D"margin:0;border-left:3px solid #ccc; padding-left:1= 0px;"> <div dir=3D"ltr"> <div> I am following the instructions of this tutorial: </div> <div> <br> </div> <div> <a href=3D"https://wiki.php.net/internals/windows/stepbystepbuild">ht= tps://wiki.php.net/internals/windows/stepbystepbuild</a> </div> <div> <br> </div> <div> I installed Visual Studio 2012 Express for Windows Desktop and have <= a id=3D"gmail-file-link" href=3D"https://windows.php.net/downloads/releases= /archives/php-5.5.0-nts-Win32-VC11-x64.zip" title=3D"php-5.5.0-nts-Win32-VC= 11-x64.zip" tabindex=3D"0" role=3D"link" class=3D"gmail-no-outline" style= =3D"outline:0px;overflow:hidden;color:rgb(26,115,232);max-width:100%;word-b= reak:break-all;display:inline-block;font-size:13px;font-family:"Segoe = UI",Tahoma,sans-serif;text-overflow:ellipsis;">php-5.5.0-nts-Win32-VC1= 1-x64</a> </div> <div> <br> </div> <div> I am in this step of the tutorial: </div> <div> <br> </div> <blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bo= rder-left:1px solid rgb(204,204,204);padding-left:1ex;"> If compiling PHP 5.5 or 5.6 open the "VS2012 x86 Native Tools Command= Prompt" </blockquote> <div> <br> </div> <div> But i am disoriented execute the following command </div> <div> <br> </div> <div> <span style=3D"color:rgb(51,51,51);font-family:"Source Code Pro&= quot;,"Courier New",Courier,monospace,sans-serif;">setenv </span>= <span class=3D"gmail-sy0" style=3D"color:rgb(62,153,159);font-family:"= Source Code Pro","Courier New",Courier,monospace,sans-serif;= ">/</span><span style=3D"color:rgb(51,51,51);font-family:"Source Code = Pro","Courier New",Courier,monospace,sans-serif;">x86 </span= ><span class=3D"gmail-sy0" style=3D"color:rgb(62,153,159);font-family:"= ;Source Code Pro","Courier New",Courier,monospace,sans-serif= ;">/</span><span style=3D"color:rgb(51,51,51);font-family:"Source Code= Pro","Courier New",Courier,monospace,sans-serif;">xp </span= ><span class=3D"gmail-sy0" style=3D"color:rgb(62,153,159);font-family:"= ;Source Code Pro","Courier New",Courier,monospace,sans-serif= ;">/</span><span style=3D"color:rgb(51,51,51);font-family:"Source Code= Pro","Courier New",Courier,monospace,sans-serif;">release</= span> </div> <div> <span style=3D"color:rgb(51,51,51);font-family:"Source Code Pro&= quot;,"Courier New",Courier,monospace,sans-serif;"><br></span> </div>I get the following result:=20 <div> <br> </div> <div> <font face=3D"monospace">'setenv' is not recognized as an internal or= external command,<br> operable program or batch file.</font> <br> <div> <span class=3D"gmail_signature_prefix"><br></span> </div> <div> <span class=3D"gmail_signature_prefix">-- </span> <br> <div dir=3D"ltr" class=3D"gmail_signature" data-smartmail=3D"gmail_s= ignature"> <div dir=3D"ltr"> <br> With kindest regards, William.=20 <br> <br><i>Larry Wall invented a messy programming language -- and cha= nged the face of the Web</i> <br> <br> </div> </div> </div> </div> </div> </blockquote> </div> </body> </html> ------=_Part_3_160484647.1745138046904--