The manual page shows how to run PHP In WindowsCommandLine like a common command line program: the command line method of PHP in Microsoft Windows. The operation described above can indeed remove the. php suffix to run the file,...
The manual page shows how to run PHP In Windows Command Line like a common Command Line program: the Command Line method of PHP in Microsoft Windows.
The operations described above can be removed..php
The suffix is used to run the file, but it is strange that it cannot be associatedphp.exe
And opened it with the Default Editor (I have set SublimeText association before )..php
File ). However, if I right-click to set the default programphp.exe
You cannot obtain the parameters set in the command line program.
The following is my current registry information:
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.php]@="phpfile""Content Type"="application/php"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile]@="PHP Script"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile\Shell]@="Open"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile\Shell\Open]@="&Open"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile\Shell\Open\Command]@="\"E:\\Dropbox\\upupw\\php5\\php.exe\" -f \"%1\" -- %~2"
Reply content:
The manual page shows how to run PHP In Windows Command Line like a common Command Line program: the Command Line method of PHP in Microsoft Windows.
The operations described above can be removed..php
The suffix is used to run the file, but it is strange that it cannot be associatedphp.exe
And opened it with the Default Editor (I have set SublimeText association before )..php
File ). However, if I right-click to set the default programphp.exe
You cannot obtain the parameters set in the command line program.
The following is my current registry information:
Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.php]@="phpfile""Content Type"="application/php"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile]@="PHP Script"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile\Shell]@="Open"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile\Shell\Open]@="&Open"[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\phpfile\Shell\Open\Command]@="\"E:\\Dropbox\\upupw\\php5\\php.exe\" -f \"%1\" -- %~2"
You need a suitable tool.
We recommend that you use FileTypesMan to check the file association with the php extension. In particular, you must right-click open.Open (& O)
Is the behavior correct.
In the worst case, you can also completely delete all associations with the php extension, restore the php file to an unknown file type, and repeat the instructions of the php manual in a clean state.