note 118656 added to install.windows.commandline

From: Date: Fri, 15 Jan 2016 13:18:16 +0000
Subject: note 118656 added to install.windows.commandline
Groups: php.notes 
Request: Send a blank email to php-notes+get-204686@lists.php.net to get a copy of this message
On Windows 10, the above registry entries didn't work for me. In order for them to work, you need to write to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.php\UserChoice for which you don't have access, even if you run regedit as admin (probably because of the Hash key). The solution is actually much easier - right-click a PHP file in Explorer and associate it to always open with php.exe. And then you need to modify the PATH variable: setx PATH "%PATH%;c:\path\to\php" /M if you want to execute files with commands like php file.php ---- Server IP: 72.52.91.14 Probable Submitter: 46.10.209.106 ---- Manual Page -- http://php.net/manual/en/install.windows.commandline.php Edit -- https://master.php.net/note/edit/118656 Del: integrated -- https://master.php.net/note/delete/118656/integrated Del: useless -- https://master.php.net/note/delete/118656/useless Del: bad code -- https://master.php.net/note/delete/118656/bad+code Del: spam -- https://master.php.net/note/delete/118656/spam Del: non-english -- https://master.php.net/note/delete/118656/non-english Del: in docs -- https://master.php.net/note/delete/118656/in+docs Del: other reasons-- https://master.php.net/note/delete/118656 Reject -- https://master.php.net/note/reject/118656 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#204686) next »