Post AvUvSlspNp8BFU9HgO by [email protected] | |
More posts by [email protected] | |
Post #AvTVuyXv6ZKSfDCJUW by [email protected] | |
0 likes, 1 repeats | |
Is there some weird incantation I need to recite to get PHP to run on Windows?I… | |
Post #AvTW2Y0VexryfhBGfQ by [email protected] | |
0 likes, 1 repeats | |
@ramsey the incantation i use is download the zip extract it and add the dir to… | |
Post #AvTW79EBDV99Gcli2i by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii I’ve never figured out how to do this part on Windows: “add the… | |
Post #AvTWFbSU8hwP8jUX5c by [email protected] | |
0 likes, 1 repeats | |
@ramsey hit the windows key, aka meta or flower if you're on a mac keyboard… | |
Post #AvTWTekKiCkbOJXaKm by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii NIce…This is why I have so much trouble with Windows. | |
Post #AvTWYooIio3y3HrGwi by [email protected] | |
0 likes, 1 repeats | |
@ramsey yeah i mean type `env` at your start menu that thats why step one is hi… | |
Post #AvTWbwN34JXEMwbFOy by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii Doh! | |
Post #AvTX94KaUe18c7FHjU by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii Wheee! Thanks! I got it working. | |
Post #AvTXD7nfXNQ4WzmYPQ by [email protected] | |
0 likes, 1 repeats | |
@ramsey if you need anything else let me know im classically trained by emsmith… | |
Post #AvTXDhbARKoHYeD4vA by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii Ugh.Warning: copy(): Unable to find the wrapper "https" -… | |
Post #AvTXL8Q77Et0lraGC8 by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii Am I going to need to build PHP on Windows? Why doesn’t it alread… | |
Post #AvTXToo9P3meYCy3M0 by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii php -i reports this:Registered PHP Streams => compress.zlib, php… | |
Post #AvTXVlGJYbc88J4Eue by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii So, no https. | |
Post #AvTXhENfdQxhd0yeae by [email protected] | |
0 likes, 1 repeats | |
@ramsey extension="php_openssl.dll"https://gist.github.com/bobmagicii… | |
Post #AvTXmVtXwfl1OZPEAq by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii Do I need to download cacert.pem from somewhere, or can I ignore th… | |
Post #AvTY7RhMk7GMSfgpOa by [email protected] | |
0 likes, 1 repeats | |
@ramsey i think so. i ended up with that file in that path because of like 10 d… | |
Post #AvTYl0mUExtAYtx3RI by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii Thanks! Finally. I have Composer running now. | |
Post #AvTZ59yNm6XQrU7gsy by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii How do you Ctrl-C in the terminal on Windows? | |
Post #AvTZGI61uedpF10XbM by [email protected] | |
0 likes, 1 repeats | |
heh. i think i honestly right click and copy most of the time. https://github.c… | |
Post #AvTZQkolytShDQvQJ6 by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii Oh, I don’t mean “copy.” I mean SIGTERM. | |
Post #AvTZQqTMxNuEkmxPmK by [email protected] | |
0 likes, 0 repeats | |
@bobmagicii Oh, frakin’ A! I guess I need to figure out how to set up Git to … | |
Post #AvTZQqZOayj73TmEAi by [email protected] | |
0 likes, 1 repeats | |
@ramsey git should never be allowed to fuck with your source. that is a config … | |
Post #AvTZdaP60ntMgJ29nU by [email protected] | |
0 likes, 1 repeats | |
@ramsey git config --global core.autocrlf false | |
Post #AvTatH43maF5HzEsHA by [email protected] | |
0 likes, 0 repeats | |
@ramsey oh. i just mash ctrl-c like normal. unless powershell is weird, its alw… | |
Post #AvTatH9jRUmNZZtP7I by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii Does the `%username%` variable no longer work on Windows? If I do `… | |
Post #AvTb1sMwy73HIvAzDc by [email protected] | |
0 likes, 1 repeats | |
@ramsey try not using powershell. it might be super stupid. its why i hate it. … | |
Post #AvTbDIrEpDxcdsnAiu by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii The problem is that I have this line of code here that’s failing … | |
Post #AvTbZbqKuzzfta0TpI by [email protected] | |
0 likes, 1 repeats | |
@ramsey since you are in a php script you could get_current_user(). or play dum… | |
Post #AvTbkTjvO3LNwsBsPI by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii I might have to use the whoami trick. get_current_user() returns th… | |
Post #AvTbyYX0MujMrbrNyK by [email protected] | |
0 likes, 1 repeats | |
@ramsey on my local terminal php -r "var_dump($_ENV)"; contains USERN… | |
Post #AvTcBJgasHOoaPQiEi by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii $_ENV is empty in both cmd and powershell, in my environment. | |
Post #AvTcO5JbcFbTmSlXMW by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii And is `wmic` no longer standard on Windows servers? Maybe it never… | |
Post #AvTcQTovTeb0MSYdjE by [email protected] | |
0 likes, 1 repeats | |
@ramsey as far as i know it is but github actions might be super locked down. | |
Post #AvTcSblysgfjbYC9Sq by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii I guess this answers my question: https://windowsreport.com/install… | |
Post #AvThFZiNilshEC7G52 by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii I think I’ve got what I need for now. Thanks for your help! | |
Post #AvThMBYHxLQGJcXzGq by [email protected] | |
0 likes, 1 repeats | |
@ramsey yee buddy :elephpant: | |
Post #AvThswtRTi80PN43iS by [email protected] | |
0 likes, 1 repeats | |
@bobmagicii And it only cost me $5.43 to run an instance with 72 GB of RAM and … | |
Post #AvU1r7sLfnrSyPxeRU by [email protected] | |
0 likes, 1 repeats | |
@ramsey isn't it easier to use WSL2 in Windows?PHP is painful to run on Win… | |
Post #AvUvSlspNp8BFU9HgO by [email protected] | |
0 likes, 0 repeats | |
@ramsey "what am I missing?" - a sane operating system. | |
Post #AvUvSlzD06EdZH8Nd2 by [email protected] | |
0 likes, 1 repeats | |
@richardjh I’ve got an open source library and want to support users who pref… |