note 108152 added to install.windows.installer.msi
| From: | ckelley at ca-cycleworks dot com | Date: | Tue, 03 Apr 2012 03:18:07 +0000 |
| Subject: | note 108152 added to install.windows.installer.msi | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186942@lists.php.net to get a copy of this message | ||
Two aspects of a typical Windows installation:
1) The default behavior for short_open_tag is OFF. You must edit php.ini and explicitly set it to
ON. This means most developers will have their source code displayed rather than the script
executed. short_open_tag OFF means the php tags must be <?php ?> and the shorter <? ?>
will not be interpreted.
2) When using php as cli from the command line, Windows 7 will perform the file association in such
a way that running a script from the command line will not accept additional arguments. Note,
however that typing the full path to the executable will see arguments. As Windows 7 has a limited
file associations GUI, the fix is to open regedit and change the key
HKEY_CLASSES_ROOT\Applications\php.exe\shell\open\command from its default value of
"C:\php\php.exe" "%1" to instead read "C:\php\php.exe" "%1"
"%2" "%3" "%4" "%5" "%6" "%7"
"%8" "%9"
----
Server IP: 69.147.83.197
Probable Submitter: 98.175.243.214
----
Manual Page -- http://www.php.net/manual/en/install.windows.installer.msi.php
Edit -- https://master.php.net/note/edit/108152
Del: integrated -- https://master.php.net/note/delete/108152/integrated
Del: useless -- https://master.php.net/note/delete/108152/useless
Del: bad code -- https://master.php.net/note/delete/108152/bad+code
Del: spam -- https://master.php.net/note/delete/108152/spam
Del: non-english -- https://master.php.net/note/delete/108152/non-english
Del: in docs -- https://master.php.net/note/delete/108152/in+docs
Del: other reasons-- https://master.php.net/note/delete/108152
Reject -- https://master.php.net/note/reject/108152
Search -- https://master.php.net/manage/user-notes.php