{"action":"created","issue":{"url":"https://api.github.com/repos/cretueusebiu/valet-windows/issues/32","repository_url":"https://api.github.com/repos/cretueusebiu/valet-windows","labels_url":"https://api.github.com/repos/cretueusebiu/valet-windows/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/cretueusebiu/valet-windows/issues/32/comments","events_url":"https://api.github.com/repos/cretueusebiu/valet-windows/issues/32/events","html_url":"https://github.com/cretueusebiu/valet-windows/issues/32","id":235397832,"number":32,"title":"Documentation wrong? Can't download PHP.","user":{"login":"ryanmortier","id":2053960,"avatar_url":"https://avatars3.githubusercontent.com/u/2053960?v=3","gravatar_id":"","url":"https://api.github.com/users/ryanmortier","html_url":"https://github.com/ryanmortier","followers_url":"https://api.github.com/users/ryanmortier/followers","following_url":"https://api.github.com/users/ryanmortier/following{/other_user}","gists_url":"https://api.github.com/users/ryanmortier/gists{/gist_id}","starred_url":"https://api.github.com/users/ryanmortier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ryanmortier/subscriptions","organizations_url":"https://api.github.com/users/ryanmortier/orgs","repos_url":"https://api.github.com/users/ryanmortier/repos","events_url":"https://api.github.com/users/ryanmortier/events{/privacy}","received_events_url":"https://api.github.com/users/ryanmortier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-06-12T23:53:33Z","updated_at":"2017-06-13T00:13:34Z","closed_at":null,"body":"Steps:\r\n1. Open PowerShell as Administrator\r\n2. Paste this command:\r\n```powershell\r\nSet-ExecutionPolicy RemoteSigned; Invoke-WebRequest -Uri \"https://github.com/cretueusebiu/valet-windows/raw/master/bin/php-installer.ps1\" -OutFile $env:temp\\php-installer.ps1; .\"$env:temp\\php-installer.ps1\"\r\n```\r\n3. Errors out:\r\n```\r\nPS C:\\WINDOWS\\system32> Invoke-WebRequest -Uri \"https://github.com/cretueusebiu/valet-windows/raw/master/bin/php-installer.ps1\" -OutFile $env:temp\\php-\r\ninstaller.ps1; .\"$env:temp\\php-installer.ps1\"\r\nStart-BitsTransfer : HTTP status 404: The requested URL does not exist on the server.\r\nAt C:\\Users\\ryan\\AppData\\Local\\Temp\\php-installer.ps1:16 char:1\r\n+ Start-BitsTransfer -Source $phpUrl -Destination $zipfile -Description ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : InvalidOperation: (:) [Start-BitsTransfer], Exception\r\n    + FullyQualifiedErrorId : StartBitsTransferCOMException,Microsoft.BackgroundIntelligentTransfer.Management.NewBitsTransferCommand\r\n\r\nInstalling PHP...\r\n\r\nException calling \"ExtractToDirectory\" with \"2\" argument(s): \"Could not find file 'C:\\Users\\ryan\\AppData\\Local\\Temp\\php.zip'.\"\r\nAt C:\\Users\\ryan\\AppData\\Local\\Temp\\php-installer.ps1:20 char:1\r\n+ [System.IO.Compression.ZipFile]::ExtractToDirectory($zipfile, $outpat ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException\r\n    + FullyQualifiedErrorId : FileNotFoundException\r\n\r\nRemove-Item : Cannot find path 'C:\\Users\\ryan\\AppData\\Local\\Temp\\php.zip' because it does not exist.\r\nAt C:\\Users\\ryan\\AppData\\Local\\Temp\\php-installer.ps1:21 char:1\r\n+ Remove-Item $zipfile\r\n+ ~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : ObjectNotFound: (C:\\Users\\ryan\\AppData\\Local\\Temp\\php.zip:String) [Remove-Item], ItemNotFoundException\r\n    + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand\r\n\r\nStart-BitsTransfer : Cannot find path 'C:\\php' because it does not exist.\r\nAt C:\\Users\\ryan\\AppData\\Local\\Temp\\php-installer.ps1:24 char:1\r\n+ Start-BitsTransfer -Source $phpIniUrl -Destination $outpath\\php.ini - ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : ObjectNotFound: (C:\\php:String) [Start-BitsTransfer], ParentContainsErrorRecordException\r\n    + FullyQualifiedErrorId : PathNotFound,Microsoft.BackgroundIntelligentTransfer.Management.NewBitsTransferCommand\r\n\r\nStart-BitsTransfer : Cannot find path 'C:\\php' because it does not exist.\r\nAt C:\\Users\\ryan\\AppData\\Local\\Temp\\php-installer.ps1:27 char:1\r\n+ Start-BitsTransfer -Source $caCertUrl -Destination $outpath\\cacert.pe ...\r\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\n    + CategoryInfo          : ObjectNotFound: (C:\\php:String) [Start-BitsTransfer], ParentContainsErrorRecordException\r\n    + FullyQualifiedErrorId : PathNotFound,Microsoft.BackgroundIntelligentTransfer.Management.NewBitsTransferCommand\r\n\r\nPHP installed successfully!\r\n\r\nphp : The term 'php' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a\r\npath was included, verify that the path is correct and try again.\r\nAt C:\\Users\\ryan\\AppData\\Local\\Temp\\php-installer.ps1:35 char:1\r\n+ php -v\r\n+ ~~~\r\n    + CategoryInfo          : ObjectNotFound: (php:String) [], CommandNotFoundException\r\n    + FullyQualifiedErrorId : CommandNotFoundException\r\n\r\nPS C:\\WINDOWS\\system32>\r\n```"},"comment":{"url":"https://api.github.com/repos/cretueusebiu/valet-windows/issues/comments/307969928","html_url":"https://github.com/cretueusebiu/valet-windows/issues/32#issuecomment-307969928","issue_url":"https://api.github.com/repos/cretueusebiu/valet-windows/issues/32","id":307969928,"user":{"login":"okaufmann","id":4414498,"avatar_url":"https://avatars3.githubusercontent.com/u/4414498?v=3","gravatar_id":"","url":"https://api.github.com/users/okaufmann","html_url":"https://github.com/okaufmann","followers_url":"https://api.github.com/users/okaufmann/followers","following_url":"https://api.github.com/users/okaufmann/following{/other_user}","gists_url":"https://api.github.com/users/okaufmann/gists{/gist_id}","starred_url":"https://api.github.com/users/okaufmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okaufmann/subscriptions","organizations_url":"https://api.github.com/users/okaufmann/orgs","repos_url":"https://api.github.com/users/okaufmann/repos","events_url":"https://api.github.com/users/okaufmann/events{/privacy}","received_events_url":"https://api.github.com/users/okaufmann/received_events","type":"User","site_admin":false},"created_at":"2017-06-13T00:13:34Z","updated_at":"2017-06-13T00:13:34Z","body":"Just a broken url: https://github.com/cretueusebiu/valet-windows/pull/33\r\n\r\n@cretueusebiu any idea how to fix this forever? "}}
{"actor":{"display_login":"okaufmann"}}