PageRenderTime 73ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/stable-1.2.0/Powershell/Documentation/Web.Management.PHP.PowerShell.dll-Help.xml

#
XML | 2367 lines | 2311 code | 16 blank | 40 comment | 0 complexity | 1e65482142481e4a6ada7cf906798c46 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <helpItems xmlns="http://msh" schema="maml">
  3. <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
  4. <!--Generated by Help Cmdlet Editor-->
  5. <command:details>
  6. <command:name>Get-PHPConfiguration</command:name>
  7. <maml:description>
  8. <maml:para>Gets the summary of the currently active PHP version on the specified IIS web site and application.</maml:para>
  9. </maml:description>
  10. <maml:copyright>
  11. <maml:para />
  12. <!--Add copy right info here.-->
  13. </maml:copyright>
  14. <command:verb>Get</command:verb>
  15. <command:noun>PHPConfiguration</command:noun>
  16. <!--Add Dev version info here.-->
  17. <dev:version />
  18. </command:details>
  19. <maml:description>
  20. <!--This is the Description section-->
  21. <maml:para>The Get-PHPConfiguration cmdlet gets the summary of the currently active PHP version on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter.</maml:para>
  22. </maml:description>
  23. <command:syntax>
  24. <command:syntaxItem>
  25. <maml:name>Get-PHPConfiguration</maml:name>
  26. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  27. <maml:name>SiteName</maml:name>
  28. <maml:description>
  29. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  30. </maml:description>
  31. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  32. </command:parameter>
  33. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  34. <maml:name>VirtualPath</maml:name>
  35. <maml:description>
  36. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  37. </maml:description>
  38. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  39. </command:parameter>
  40. </command:syntaxItem>
  41. </command:syntax>
  42. <command:parameters>
  43. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  44. <maml:name>SiteName</maml:name>
  45. <maml:description>
  46. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  47. </maml:description>
  48. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  49. <dev:type>
  50. <maml:name>String</maml:name>
  51. <maml:uri />
  52. </dev:type>
  53. <dev:defaultValue>
  54. </dev:defaultValue>
  55. </command:parameter>
  56. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  57. <maml:name>VirtualPath</maml:name>
  58. <maml:description>
  59. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  60. </maml:description>
  61. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  62. <dev:type>
  63. <maml:name>String</maml:name>
  64. <maml:uri />
  65. </dev:type>
  66. <dev:defaultValue>
  67. </dev:defaultValue>
  68. </command:parameter>
  69. </command:parameters>
  70. <command:inputTypes>
  71. <command:inputType>
  72. <dev:type>
  73. <maml:name>None</maml:name>
  74. <maml:uri />
  75. <maml:description>
  76. <maml:para>
  77. </maml:para>
  78. </maml:description>
  79. </dev:type>
  80. <maml:description>
  81. </maml:description>
  82. </command:inputType>
  83. </command:inputTypes>
  84. <command:returnValues>
  85. <command:returnValue>
  86. <dev:type>
  87. <maml:name>
  88. </maml:name>
  89. <maml:uri />
  90. <maml:description>
  91. <maml:para>
  92. </maml:para>
  93. </maml:description>
  94. </dev:type>
  95. <maml:description>
  96. </maml:description>
  97. </command:returnValue>
  98. </command:returnValues>
  99. <command:terminatingErrors>
  100. </command:terminatingErrors>
  101. <command:nonTerminatingErrors>
  102. </command:nonTerminatingErrors>
  103. <maml:alertSet>
  104. <maml:title>
  105. </maml:title>
  106. <maml:alert>
  107. <maml:para>
  108. </maml:para>
  109. </maml:alert>
  110. </maml:alertSet>
  111. <command:examples>
  112. <command:example>
  113. <maml:title>
  114. -------------- Example 1 -------------- </maml:title>
  115. <maml:introduction>
  116. <maml:para>C:\PS&gt;</maml:para>
  117. C:\PS&gt; </maml:introduction>
  118. <dev:code>Get-PHPConfiguration</dev:code>
  119. <dev:remarks>
  120. <maml:para>This command returns the summary of PHP version on IIS server level. That version is used on all the sites on that IIS server, unless they explicitly overwrite it.</maml:para>
  121. <maml:para>
  122. </maml:para>
  123. <maml:para>
  124. </maml:para>
  125. <maml:para>HandlerName : php-5.3.6
  126. Version : 5.3.6
  127. ScriptProcessor : C:\php\536\php-cgi.exe
  128. HandlerType : Local
  129. ErrorLog : C:\Windows\Temp\php-5.3.6_errors.log
  130. PHPIniFilePath : C:\php\536\php.ini
  131. InstalledExtensionsCount : 36
  132. EnabledExtensionsCount : 0
  133. </maml:para>
  134. <maml:para>
  135. </maml:para>
  136. </dev:remarks>
  137. <command:commandLines>
  138. <command:commandLine>
  139. <command:commandText>
  140. </command:commandText>
  141. </command:commandLine>
  142. </command:commandLines>
  143. </command:example>
  144. <command:example>
  145. <maml:title>
  146. -------------- Example 2 -------------- </maml:title>
  147. <maml:introduction>
  148. <maml:para>C:\PS&gt;</maml:para>
  149. C:\PS&gt; </maml:introduction>
  150. <dev:code>Get-PHPConfiguration -SiteName mysite -VirtualPath /forum/</dev:code>
  151. <dev:remarks>
  152. <maml:para>This command returns the summary of PHP version that is used for the directory "/forum" on a site with name "mysite".</maml:para>
  153. <maml:para>
  154. </maml:para>
  155. <maml:para>
  156. </maml:para>
  157. <maml:para>
  158. </maml:para>
  159. <maml:para>
  160. </maml:para>
  161. </dev:remarks>
  162. <command:commandLines>
  163. <command:commandLine>
  164. <command:commandText>
  165. </command:commandText>
  166. </command:commandLine>
  167. </command:commandLines>
  168. </command:example>
  169. </command:examples>
  170. <maml:relatedLinks>
  171. </maml:relatedLinks>
  172. </command:command>
  173. <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
  174. <!--Generated by Help Cmdlet Editor-->
  175. <command:details>
  176. <command:name>Get-PHPExtension</command:name>
  177. <maml:description>
  178. <maml:para>Gets the list of PHP extensions available in the currently active PHP version.</maml:para>
  179. </maml:description>
  180. <maml:copyright>
  181. <maml:para />
  182. <!--Add copy right info here.-->
  183. </maml:copyright>
  184. <command:verb>Get</command:verb>
  185. <command:noun>PHPExtension</command:noun>
  186. <!--Add Dev version info here.-->
  187. <dev:version />
  188. </command:details>
  189. <maml:description>
  190. <!--This is the Description section-->
  191. <maml:para>The Get-PHPExtension cmdlet outputs the list of all PHP extensions available in the currently active PHP version. The list can be filtered by extension name and by the status (enabled or disabled).</maml:para>
  192. </maml:description>
  193. <command:syntax>
  194. <command:syntaxItem>
  195. <maml:name>Get-PHPExtension</maml:name>
  196. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
  197. <maml:name>Name</maml:name>
  198. <maml:description>
  199. <maml:para>Specifies the name of the extensions to output. If the parameter is not specified then all available extensions will be listed. This parameter supports wildcards.</maml:para>
  200. </maml:description>
  201. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  202. </command:parameter>
  203. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
  204. <maml:name>Status</maml:name>
  205. <maml:description>
  206. <maml:para>Specifies the status of the extension. Possible values are "enabled" and "disabled". Only the extension that match the specified status will be listed. If this parameter is not specified then all extensions will be listed.</maml:para>
  207. </maml:description>
  208. <command:parameterValue required="true" variableLength="false">PHPExtensionStatus</command:parameterValue>
  209. </command:parameter>
  210. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  211. <maml:name>SiteName</maml:name>
  212. <maml:description>
  213. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  214. </maml:description>
  215. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  216. </command:parameter>
  217. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  218. <maml:name>VirtualPath</maml:name>
  219. <maml:description>
  220. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  221. </maml:description>
  222. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  223. </command:parameter>
  224. </command:syntaxItem>
  225. </command:syntax>
  226. <command:parameters>
  227. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
  228. <maml:name>Name</maml:name>
  229. <maml:description>
  230. <maml:para>Specifies the name of the extensions to output. If the parameter is not specified then all available extensions will be listed. This parameter supports wildcards.</maml:para>
  231. </maml:description>
  232. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  233. <dev:type>
  234. <maml:name>String</maml:name>
  235. <maml:uri />
  236. </dev:type>
  237. <dev:defaultValue>
  238. </dev:defaultValue>
  239. </command:parameter>
  240. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
  241. <maml:name>Status</maml:name>
  242. <maml:description>
  243. <maml:para>Specifies the status of the extension. Possible values are "enabled" and "disabled". Only the extension that match the specified status will be listed. If this parameter is not specified then all extensions will be listed.</maml:para>
  244. </maml:description>
  245. <command:parameterValue required="true" variableLength="false">PHPExtensionStatus</command:parameterValue>
  246. <dev:type>
  247. <maml:name>PHPExtensionStatus</maml:name>
  248. <maml:uri />
  249. </dev:type>
  250. <dev:defaultValue>
  251. </dev:defaultValue>
  252. </command:parameter>
  253. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  254. <maml:name>SiteName</maml:name>
  255. <maml:description>
  256. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  257. </maml:description>
  258. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  259. <dev:type>
  260. <maml:name>String</maml:name>
  261. <maml:uri />
  262. </dev:type>
  263. <dev:defaultValue>
  264. </dev:defaultValue>
  265. </command:parameter>
  266. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  267. <maml:name>VirtualPath</maml:name>
  268. <maml:description>
  269. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  270. </maml:description>
  271. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  272. <dev:type>
  273. <maml:name>String</maml:name>
  274. <maml:uri />
  275. </dev:type>
  276. <dev:defaultValue>
  277. </dev:defaultValue>
  278. </command:parameter>
  279. </command:parameters>
  280. <command:inputTypes>
  281. <command:inputType>
  282. <dev:type>
  283. <maml:name>None</maml:name>
  284. <maml:uri />
  285. <maml:description>
  286. <maml:para>
  287. </maml:para>
  288. </maml:description>
  289. </dev:type>
  290. <maml:description>
  291. </maml:description>
  292. </command:inputType>
  293. </command:inputTypes>
  294. <command:returnValues>
  295. <command:returnValue>
  296. <dev:type>
  297. <maml:name>
  298. </maml:name>
  299. <maml:uri />
  300. <maml:description>
  301. <maml:para>
  302. </maml:para>
  303. </maml:description>
  304. </dev:type>
  305. <maml:description>
  306. </maml:description>
  307. </command:returnValue>
  308. </command:returnValues>
  309. <command:terminatingErrors>
  310. </command:terminatingErrors>
  311. <command:nonTerminatingErrors>
  312. </command:nonTerminatingErrors>
  313. <maml:alertSet>
  314. <maml:title>
  315. </maml:title>
  316. <maml:alert>
  317. <maml:para>
  318. </maml:para>
  319. </maml:alert>
  320. </maml:alertSet>
  321. <command:examples>
  322. <command:example>
  323. <maml:title>
  324. -------------- Example 1 -------------- </maml:title>
  325. <maml:introduction>
  326. <maml:para>C:\PS&gt;</maml:para>
  327. C:\PS&gt; </maml:introduction>
  328. <dev:code>Get-PHPExtension</dev:code>
  329. <dev:remarks>
  330. <maml:para>This command lists all the extensions that are available for the currently active PHP version.</maml:para>
  331. <maml:para>
  332. </maml:para>
  333. <maml:para>
  334. </maml:para>
  335. <maml:para>
  336. </maml:para>
  337. <maml:para>
  338. </maml:para>
  339. </dev:remarks>
  340. <command:commandLines>
  341. <command:commandLine>
  342. <command:commandText>
  343. </command:commandText>
  344. </command:commandLine>
  345. </command:commandLines>
  346. </command:example>
  347. <command:example>
  348. <maml:title>
  349. -------------- Example 2 -------------- </maml:title>
  350. <maml:introduction>
  351. <maml:para>C:\PS&gt;</maml:para>
  352. C:\PS&gt; </maml:introduction>
  353. <dev:code>Get-PHPExtension -SiteName mysite -VirtualPath /forum/</dev:code>
  354. <dev:remarks>
  355. <maml:para>This command returns the list of extensions available in PHP version that is used for the directory "/forum" on a site with name "mysite".</maml:para>
  356. <maml:para>
  357. </maml:para>
  358. <maml:para>
  359. </maml:para>
  360. <maml:para>
  361. </maml:para>
  362. <maml:para>
  363. </maml:para>
  364. </dev:remarks>
  365. <command:commandLines>
  366. <command:commandLine>
  367. <command:commandText>
  368. </command:commandText>
  369. </command:commandLine>
  370. </command:commandLines>
  371. </command:example>
  372. <command:example>
  373. <maml:title>
  374. -------------- Example 3 -------------- </maml:title>
  375. <maml:introduction>
  376. <maml:para>C:\PS&gt;</maml:para>
  377. C:\PS&gt; </maml:introduction>
  378. <dev:code>Get-PHPExtension -Name *pdo* -Status Enabled</dev:code>
  379. <dev:remarks>
  380. <maml:para>This command lists all the enabled PHP extension that have "pdo" in their name.</maml:para>
  381. <maml:para>
  382. </maml:para>
  383. <maml:para>
  384. </maml:para>
  385. <maml:para>Name Status
  386. ---- ------
  387. php_pdo_firebird.dll Enabled
  388. php_pdo_mysql.dll Enabled
  389. php_pdo_oci.dll Enabled
  390. php_pdo_odbc.dll Enabled
  391. php_pdo_pgsql.dll Enabled
  392. php_pdo_sqlite.dll Enabled
  393. </maml:para>
  394. <maml:para>
  395. </maml:para>
  396. </dev:remarks>
  397. <command:commandLines>
  398. <command:commandLine>
  399. <command:commandText>
  400. </command:commandText>
  401. </command:commandLine>
  402. </command:commandLines>
  403. </command:example>
  404. </command:examples>
  405. <maml:relatedLinks>
  406. <maml:navigationLink>
  407. <maml:linkText>Set-PHPExtension</maml:linkText>
  408. <maml:uri />
  409. </maml:navigationLink>
  410. </maml:relatedLinks>
  411. </command:command>
  412. <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
  413. <!--Generated by Help Cmdlet Editor-->
  414. <command:details>
  415. <command:name>Get-PHPSetting</command:name>
  416. <maml:description>
  417. <maml:para>Gets the list of configuration settings for currently active PHP version.</maml:para>
  418. </maml:description>
  419. <maml:copyright>
  420. <maml:para />
  421. <!--Add copy right info here.-->
  422. </maml:copyright>
  423. <command:verb>Get</command:verb>
  424. <command:noun>PHPSetting</command:noun>
  425. <!--Add Dev version info here.-->
  426. <dev:version />
  427. </command:details>
  428. <maml:description>
  429. <!--This is the Description section-->
  430. <maml:para>The Get-PHPSetting cmdlet gets the list of configurations settings for currently active PHP version on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter.</maml:para>
  431. </maml:description>
  432. <command:syntax>
  433. <command:syntaxItem>
  434. <maml:name>Get-PHPSetting</maml:name>
  435. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
  436. <maml:name>Name</maml:name>
  437. <maml:description>
  438. <maml:para>Specifies the name of a PHP setting. If this parameter is not specified then all PHP settings will be listed. This parameter supports wildcards syntax.</maml:para>
  439. </maml:description>
  440. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  441. </command:parameter>
  442. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  443. <maml:name>Section</maml:name>
  444. <maml:description>
  445. <maml:para>Specifies the PHP.INI section where settings belong to. If this parameter is specified then only the settings from the specified section will be listed.</maml:para>
  446. </maml:description>
  447. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  448. </command:parameter>
  449. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  450. <maml:name>SiteName</maml:name>
  451. <maml:description>
  452. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  453. </maml:description>
  454. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  455. </command:parameter>
  456. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  457. <maml:name>VirtualPath</maml:name>
  458. <maml:description>
  459. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  460. </maml:description>
  461. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  462. </command:parameter>
  463. </command:syntaxItem>
  464. </command:syntax>
  465. <command:parameters>
  466. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="1">
  467. <maml:name>Name</maml:name>
  468. <maml:description>
  469. <maml:para>Specifies the name of a PHP setting. If this parameter is not specified then all PHP settings will be listed. This parameter supports wildcards syntax.</maml:para>
  470. </maml:description>
  471. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  472. <dev:type>
  473. <maml:name>String</maml:name>
  474. <maml:uri />
  475. </dev:type>
  476. <dev:defaultValue>
  477. </dev:defaultValue>
  478. </command:parameter>
  479. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  480. <maml:name>Section</maml:name>
  481. <maml:description>
  482. <maml:para>Specifies the PHP.INI section where settings belong to. If this parameter is specified then only the settings from the specified section will be listed.</maml:para>
  483. </maml:description>
  484. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  485. <dev:type>
  486. <maml:name>String</maml:name>
  487. <maml:uri />
  488. </dev:type>
  489. <dev:defaultValue>
  490. </dev:defaultValue>
  491. </command:parameter>
  492. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  493. <maml:name>SiteName</maml:name>
  494. <maml:description>
  495. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  496. </maml:description>
  497. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  498. <dev:type>
  499. <maml:name>String</maml:name>
  500. <maml:uri />
  501. </dev:type>
  502. <dev:defaultValue>
  503. </dev:defaultValue>
  504. </command:parameter>
  505. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  506. <maml:name>VirtualPath</maml:name>
  507. <maml:description>
  508. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  509. </maml:description>
  510. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  511. <dev:type>
  512. <maml:name>String</maml:name>
  513. <maml:uri />
  514. </dev:type>
  515. <dev:defaultValue>
  516. </dev:defaultValue>
  517. </command:parameter>
  518. </command:parameters>
  519. <command:inputTypes>
  520. <command:inputType>
  521. <dev:type>
  522. <maml:name>None</maml:name>
  523. <maml:uri />
  524. <maml:description>
  525. <maml:para>
  526. </maml:para>
  527. </maml:description>
  528. </dev:type>
  529. <maml:description>
  530. </maml:description>
  531. </command:inputType>
  532. </command:inputTypes>
  533. <command:returnValues>
  534. <command:returnValue>
  535. <dev:type>
  536. <maml:name>
  537. </maml:name>
  538. <maml:uri />
  539. <maml:description>
  540. <maml:para>
  541. </maml:para>
  542. </maml:description>
  543. </dev:type>
  544. <maml:description>
  545. </maml:description>
  546. </command:returnValue>
  547. </command:returnValues>
  548. <command:terminatingErrors>
  549. </command:terminatingErrors>
  550. <command:nonTerminatingErrors>
  551. </command:nonTerminatingErrors>
  552. <maml:alertSet>
  553. <maml:title>
  554. </maml:title>
  555. <maml:alert>
  556. <maml:para>
  557. </maml:para>
  558. </maml:alert>
  559. </maml:alertSet>
  560. <command:examples>
  561. <command:example>
  562. <maml:title>
  563. -------------- Example 1 -------------- </maml:title>
  564. <maml:introduction>
  565. <maml:para>C:\PS&gt;</maml:para>
  566. C:\PS&gt; </maml:introduction>
  567. <dev:code>Get-PHPSetting</dev:code>
  568. <dev:remarks>
  569. <maml:para>This command lists all the configuration settings for the currently active PHP version.</maml:para>
  570. <maml:para>
  571. </maml:para>
  572. <maml:para>
  573. </maml:para>
  574. <maml:para>
  575. </maml:para>
  576. <maml:para>
  577. </maml:para>
  578. </dev:remarks>
  579. <command:commandLines>
  580. <command:commandLine>
  581. <command:commandText>
  582. </command:commandText>
  583. </command:commandLine>
  584. </command:commandLines>
  585. </command:example>
  586. <command:example>
  587. <maml:title>
  588. -------------- Example 2 -------------- </maml:title>
  589. <maml:introduction>
  590. <maml:para>C:\PS&gt;</maml:para>
  591. C:\PS&gt; </maml:introduction>
  592. <dev:code>Get-PHPSetting -SiteName mysite -VirtualPath /forum/</dev:code>
  593. <dev:remarks>
  594. <maml:para>This command returns the list of configuration settings for the PHP version that is used for the directory "/forum" on a site with name "mysite".</maml:para>
  595. <maml:para>
  596. </maml:para>
  597. <maml:para>
  598. </maml:para>
  599. <maml:para>
  600. </maml:para>
  601. <maml:para>
  602. </maml:para>
  603. </dev:remarks>
  604. <command:commandLines>
  605. <command:commandLine>
  606. <command:commandText>
  607. </command:commandText>
  608. </command:commandLine>
  609. </command:commandLines>
  610. </command:example>
  611. <command:example>
  612. <maml:title>
  613. -------------- Example 3 -------------- </maml:title>
  614. <maml:introduction>
  615. <maml:para>C:\PS&gt;</maml:para>
  616. C:\PS&gt; </maml:introduction>
  617. <dev:code>Get-PHPSetting -Name *error* -Section PHP</dev:code>
  618. <dev:remarks>
  619. <maml:para>This command returns the list of configuration settings that contain "error" in their names and that belong to "PHP" section.</maml:para>
  620. <maml:para>
  621. </maml:para>
  622. <maml:para>
  623. </maml:para>
  624. <maml:para>Name Value Section
  625. ---- ----- -------
  626. error_reporting E_ALL &amp; ~E_DEPRECATED PHP
  627. display_errors Off PHP
  628. display_startup_errors Off PHP
  629. log_errors On PHP
  630. log_errors_max_len 1024 PHP
  631. ignore_repeated_errors Off PHP
  632. track_errors Off PHP
  633. html_errors Off PHP
  634. error_log "C:\Windows\Temp\errors.log" PHP
  635. </maml:para>
  636. <maml:para>
  637. </maml:para>
  638. </dev:remarks>
  639. <command:commandLines>
  640. <command:commandLine>
  641. <command:commandText>
  642. </command:commandText>
  643. </command:commandLine>
  644. </command:commandLines>
  645. </command:example>
  646. </command:examples>
  647. <maml:relatedLinks>
  648. <maml:navigationLink>
  649. <maml:linkText>Set-PHPSetting</maml:linkText>
  650. <maml:uri />
  651. </maml:navigationLink>
  652. <maml:navigationLink>
  653. <maml:linkText>New-PHPSetting</maml:linkText>
  654. <maml:uri />
  655. </maml:navigationLink>
  656. <maml:navigationLink>
  657. <maml:linkText>Remove-PHPSetting</maml:linkText>
  658. <maml:uri />
  659. </maml:navigationLink>
  660. </maml:relatedLinks>
  661. </command:command>
  662. <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
  663. <!--Generated by Help Cmdlet Editor-->
  664. <command:details>
  665. <command:name>Get-PHPVersion</command:name>
  666. <maml:description>
  667. <maml:para>Gets the list of all available PHP versions that are registered with IIS.</maml:para>
  668. </maml:description>
  669. <maml:copyright>
  670. <maml:para />
  671. <!--Add copy right info here.-->
  672. </maml:copyright>
  673. <command:verb>Get</command:verb>
  674. <command:noun>PHPVersion</command:noun>
  675. <!--Add Dev version info here.-->
  676. <dev:version />
  677. </command:details>
  678. <maml:description>
  679. <!--This is the Description section-->
  680. <maml:para>The Get-PHPVersion cmdlet gets the list of all PHP versions that are registered with IIS on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter.</maml:para>
  681. </maml:description>
  682. <command:syntax>
  683. <command:syntaxItem>
  684. <maml:name>Get-PHPVersion</maml:name>
  685. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
  686. <maml:name>HandlerName</maml:name>
  687. <maml:description>
  688. <maml:para>Specifies the name of the handler mapping for PHP. If this parameter is not specified then all available handler mappings will be listed. This parameter supports wildcard syntax.</maml:para>
  689. </maml:description>
  690. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  691. </command:parameter>
  692. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
  693. <maml:name>Version</maml:name>
  694. <maml:description>
  695. <maml:para>Specifies a version of PHP. If this parameter is specified then only handler mappings for that PHP version will be listed. This parameter supports wildcard syntax.</maml:para>
  696. </maml:description>
  697. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  698. </command:parameter>
  699. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  700. <maml:name>SiteName</maml:name>
  701. <maml:description>
  702. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  703. </maml:description>
  704. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  705. </command:parameter>
  706. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  707. <maml:name>VirtualPath</maml:name>
  708. <maml:description>
  709. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  710. </maml:description>
  711. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  712. </command:parameter>
  713. </command:syntaxItem>
  714. </command:syntax>
  715. <command:parameters>
  716. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
  717. <maml:name>HandlerName</maml:name>
  718. <maml:description>
  719. <maml:para>Specifies the name of the handler mapping for PHP. If this parameter is not specified then all available handler mappings will be listed. This parameter supports wildcard syntax.</maml:para>
  720. </maml:description>
  721. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  722. <dev:type>
  723. <maml:name>String</maml:name>
  724. <maml:uri />
  725. </dev:type>
  726. <dev:defaultValue>
  727. </dev:defaultValue>
  728. </command:parameter>
  729. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="2">
  730. <maml:name>Version</maml:name>
  731. <maml:description>
  732. <maml:para>Specifies a version of PHP. If this parameter is specified then only handler mappings for that PHP version will be listed. This parameter supports wildcard syntax.</maml:para>
  733. </maml:description>
  734. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  735. <dev:type>
  736. <maml:name>String</maml:name>
  737. <maml:uri />
  738. </dev:type>
  739. <dev:defaultValue>
  740. </dev:defaultValue>
  741. </command:parameter>
  742. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  743. <maml:name>SiteName</maml:name>
  744. <maml:description>
  745. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  746. </maml:description>
  747. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  748. <dev:type>
  749. <maml:name>String</maml:name>
  750. <maml:uri />
  751. </dev:type>
  752. <dev:defaultValue>
  753. </dev:defaultValue>
  754. </command:parameter>
  755. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  756. <maml:name>VirtualPath</maml:name>
  757. <maml:description>
  758. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  759. </maml:description>
  760. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  761. <dev:type>
  762. <maml:name>String</maml:name>
  763. <maml:uri />
  764. </dev:type>
  765. <dev:defaultValue>
  766. </dev:defaultValue>
  767. </command:parameter>
  768. </command:parameters>
  769. <command:inputTypes>
  770. <command:inputType>
  771. <dev:type>
  772. <maml:name>None</maml:name>
  773. <maml:uri />
  774. <maml:description>
  775. <maml:para>
  776. </maml:para>
  777. </maml:description>
  778. </dev:type>
  779. <maml:description>
  780. </maml:description>
  781. </command:inputType>
  782. </command:inputTypes>
  783. <command:returnValues>
  784. <command:returnValue>
  785. <dev:type>
  786. <maml:name>
  787. </maml:name>
  788. <maml:uri />
  789. <maml:description>
  790. <maml:para>
  791. </maml:para>
  792. </maml:description>
  793. </dev:type>
  794. <maml:description>
  795. </maml:description>
  796. </command:returnValue>
  797. </command:returnValues>
  798. <command:terminatingErrors>
  799. </command:terminatingErrors>
  800. <command:nonTerminatingErrors>
  801. </command:nonTerminatingErrors>
  802. <maml:alertSet>
  803. <maml:title>
  804. </maml:title>
  805. <maml:alert>
  806. <maml:para>
  807. </maml:para>
  808. </maml:alert>
  809. </maml:alertSet>
  810. <command:examples>
  811. <command:example>
  812. <maml:title>
  813. -------------- Example 1 -------------- </maml:title>
  814. <maml:introduction>
  815. <maml:para>C:\PS&gt;</maml:para>
  816. C:\PS&gt; </maml:introduction>
  817. <dev:code>Get-PHPVersion</dev:code>
  818. <dev:remarks>
  819. <maml:para>This command lists all the PHP versions registered with IIS on a server level.</maml:para>
  820. <maml:para>
  821. </maml:para>
  822. <maml:para>
  823. </maml:para>
  824. <maml:para>HandlerName Version ScriptProcessor Active
  825. ----------- ------- --------------- ------
  826. php-5.3.6 5.3.6 C:\php\536\php-cgi.exe True
  827. php-5.2.16 5.2.16 C:\php\5216\php-cgi.exe False
  828. php-5.3.1 5.3.1 C:\php\531\php-cgi.exe False
  829. </maml:para>
  830. <maml:para>
  831. </maml:para>
  832. </dev:remarks>
  833. <command:commandLines>
  834. <command:commandLine>
  835. <command:commandText>
  836. </command:commandText>
  837. </command:commandLine>
  838. </command:commandLines>
  839. </command:example>
  840. <command:example>
  841. <maml:title>
  842. -------------- Example 2 -------------- </maml:title>
  843. <maml:introduction>
  844. <maml:para>C:\PS&gt;</maml:para>
  845. C:\PS&gt; </maml:introduction>
  846. <dev:code>Get-PHPVersion -SiteName mysite -VirtualPath /forum</dev:code>
  847. <dev:remarks>
  848. <maml:para>This command returns all the versions of PHP that are configured for the directory "/forum" on a site with name "mysite".</maml:para>
  849. <maml:para>
  850. </maml:para>
  851. <maml:para>
  852. </maml:para>
  853. <maml:para>
  854. </maml:para>
  855. <maml:para>
  856. </maml:para>
  857. </dev:remarks>
  858. <command:commandLines>
  859. <command:commandLine>
  860. <command:commandText>
  861. </command:commandText>
  862. </command:commandLine>
  863. </command:commandLines>
  864. </command:example>
  865. </command:examples>
  866. <maml:relatedLinks>
  867. <maml:navigationLink>
  868. <maml:linkText>New-PHPVersion</maml:linkText>
  869. <maml:uri />
  870. </maml:navigationLink>
  871. </maml:relatedLinks>
  872. </command:command>
  873. <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
  874. <!--Generated by Help Cmdlet Editor-->
  875. <command:details>
  876. <command:name>New-PHPSetting</command:name>
  877. <maml:description>
  878. <maml:para>Adds new PHP configuration setting to the currently active PHP version.</maml:para>
  879. </maml:description>
  880. <maml:copyright>
  881. <maml:para />
  882. <!--Add copy right info here.-->
  883. </maml:copyright>
  884. <command:verb>New</command:verb>
  885. <command:noun>PHPSetting</command:noun>
  886. <!--Add Dev version info here.-->
  887. <dev:version />
  888. </command:details>
  889. <maml:description>
  890. <!--This is the Description section-->
  891. <maml:para>The New-PHPSetting cmdlet adds a new PHP configuration setting to the PHP version that is currently active on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter.</maml:para>
  892. </maml:description>
  893. <command:syntax>
  894. <command:syntaxItem>
  895. <maml:name>New-PHPSetting</maml:name>
  896. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
  897. <maml:name>Name</maml:name>
  898. <maml:description>
  899. <maml:para>Specifies the name of the setting to be added.</maml:para>
  900. </maml:description>
  901. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  902. </command:parameter>
  903. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
  904. <maml:name>Value</maml:name>
  905. <maml:description>
  906. <maml:para>Specifies the value of the setting to be added.</maml:para>
  907. </maml:description>
  908. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  909. </command:parameter>
  910. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
  911. <maml:name>Section</maml:name>
  912. <maml:description>
  913. <maml:para>Specifies the name of the section that the setting belongs to. If this parameter is not specified then the setting will be added to "PHP" section.</maml:para>
  914. </maml:description>
  915. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  916. </command:parameter>
  917. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  918. <maml:name>SiteName</maml:name>
  919. <maml:description>
  920. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  921. </maml:description>
  922. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  923. </command:parameter>
  924. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  925. <maml:name>VirtualPath</maml:name>
  926. <maml:description>
  927. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  928. </maml:description>
  929. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  930. </command:parameter>
  931. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  932. <maml:name>WhatIf</maml:name>
  933. <maml:description>
  934. <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
  935. </maml:description>
  936. </command:parameter>
  937. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  938. <maml:name>Confirm</maml:name>
  939. <maml:description>
  940. <maml:para>Prompts for confirmation before executing the command.</maml:para>
  941. </maml:description>
  942. </command:parameter>
  943. </command:syntaxItem>
  944. </command:syntax>
  945. <command:parameters>
  946. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
  947. <maml:name>Name</maml:name>
  948. <maml:description>
  949. <maml:para>Specifies the name of the setting to be added.</maml:para>
  950. </maml:description>
  951. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  952. <dev:type>
  953. <maml:name>String</maml:name>
  954. <maml:uri />
  955. </dev:type>
  956. <dev:defaultValue>
  957. </dev:defaultValue>
  958. </command:parameter>
  959. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
  960. <maml:name>Value</maml:name>
  961. <maml:description>
  962. <maml:para>Specifies the value of the setting to be added.</maml:para>
  963. </maml:description>
  964. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  965. <dev:type>
  966. <maml:name>String</maml:name>
  967. <maml:uri />
  968. </dev:type>
  969. <dev:defaultValue>
  970. </dev:defaultValue>
  971. </command:parameter>
  972. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="3">
  973. <maml:name>Section</maml:name>
  974. <maml:description>
  975. <maml:para>Specifies the name of the section that the setting belongs to. If this parameter is not specified then the setting will be added to "PHP" section.</maml:para>
  976. </maml:description>
  977. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  978. <dev:type>
  979. <maml:name>String</maml:name>
  980. <maml:uri />
  981. </dev:type>
  982. <dev:defaultValue>PHP</dev:defaultValue>
  983. </command:parameter>
  984. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  985. <maml:name>SiteName</maml:name>
  986. <maml:description>
  987. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  988. </maml:description>
  989. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  990. <dev:type>
  991. <maml:name>String</maml:name>
  992. <maml:uri />
  993. </dev:type>
  994. <dev:defaultValue>
  995. </dev:defaultValue>
  996. </command:parameter>
  997. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  998. <maml:name>VirtualPath</maml:name>
  999. <maml:description>
  1000. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  1001. </maml:description>
  1002. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1003. <dev:type>
  1004. <maml:name>String</maml:name>
  1005. <maml:uri />
  1006. </dev:type>
  1007. <dev:defaultValue>
  1008. </dev:defaultValue>
  1009. </command:parameter>
  1010. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1011. <maml:name>WhatIf</maml:name>
  1012. <maml:description>
  1013. <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
  1014. </maml:description>
  1015. <dev:type>
  1016. <maml:name>SwitchParameter</maml:name>
  1017. <maml:uri />
  1018. </dev:type>
  1019. <dev:defaultValue>
  1020. </dev:defaultValue>
  1021. </command:parameter>
  1022. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1023. <maml:name>Confirm</maml:name>
  1024. <maml:description>
  1025. <maml:para>Prompts for confirmation before executing the command.</maml:para>
  1026. </maml:description>
  1027. <dev:type>
  1028. <maml:name>SwitchParameter</maml:name>
  1029. <maml:uri />
  1030. </dev:type>
  1031. <dev:defaultValue>
  1032. </dev:defaultValue>
  1033. </command:parameter>
  1034. </command:parameters>
  1035. <command:inputTypes>
  1036. <command:inputType>
  1037. <dev:type>
  1038. <maml:name>None</maml:name>
  1039. <maml:uri />
  1040. <maml:description>
  1041. <maml:para>
  1042. </maml:para>
  1043. </maml:description>
  1044. </dev:type>
  1045. <maml:description>
  1046. </maml:description>
  1047. </command:inputType>
  1048. </command:inputTypes>
  1049. <command:returnValues>
  1050. <command:returnValue>
  1051. <dev:type>
  1052. <maml:name>
  1053. </maml:name>
  1054. <maml:uri />
  1055. <maml:description>
  1056. <maml:para>
  1057. </maml:para>
  1058. </maml:description>
  1059. </dev:type>
  1060. <maml:description>
  1061. </maml:description>
  1062. </command:returnValue>
  1063. </command:returnValues>
  1064. <command:terminatingErrors>
  1065. </command:terminatingErrors>
  1066. <command:nonTerminatingErrors>
  1067. </command:nonTerminatingErrors>
  1068. <maml:alertSet>
  1069. <maml:title>
  1070. </maml:title>
  1071. <maml:alert>
  1072. <maml:para>
  1073. </maml:para>
  1074. </maml:alert>
  1075. </maml:alertSet>
  1076. <command:examples>
  1077. <command:example>
  1078. <maml:title>
  1079. -------------- Example 1 -------------- </maml:title>
  1080. <maml:introduction>
  1081. <maml:para>C:\PS&gt;</maml:para>
  1082. C:\PS&gt; </maml:introduction>
  1083. <dev:code>New-PHPSetting -Name wincache.fcndetect -Value 1 -Section wincache</dev:code>
  1084. <dev:remarks>
  1085. <maml:para>Adds a new configuration setting with name "wincache.fcndetect" and value "1" to the PHP.INI section "wincache".</maml:para>
  1086. <maml:para>
  1087. </maml:para>
  1088. <maml:para>
  1089. </maml:para>
  1090. <maml:para>
  1091. </maml:para>
  1092. <maml:para>
  1093. </maml:para>
  1094. </dev:remarks>
  1095. <command:commandLines>
  1096. <command:commandLine>
  1097. <command:commandText>
  1098. </command:commandText>
  1099. </command:commandLine>
  1100. </command:commandLines>
  1101. </command:example>
  1102. <command:example>
  1103. <maml:title>
  1104. -------------- Example 2 -------------- </maml:title>
  1105. <maml:introduction>
  1106. <maml:para>C:\PS&gt;</maml:para>
  1107. C:\PS&gt; </maml:introduction>
  1108. <dev:code>New-PHPSetting -Name wincache.debuglevel -Value 101 -Section wincache -SiteName mysite -VirtualPath /forum</dev:code>
  1109. <dev:remarks>
  1110. <maml:para>This command adds new configuration settings for the PHP version that is used for the directory "/forum" on a site with name "mysite".</maml:para>
  1111. <maml:para>
  1112. </maml:para>
  1113. <maml:para>
  1114. </maml:para>
  1115. <maml:para>
  1116. </maml:para>
  1117. <maml:para>
  1118. </maml:para>
  1119. </dev:remarks>
  1120. <command:commandLines>
  1121. <command:commandLine>
  1122. <command:commandText>
  1123. </command:commandText>
  1124. </command:commandLine>
  1125. </command:commandLines>
  1126. </command:example>
  1127. </command:examples>
  1128. <maml:relatedLinks>
  1129. <maml:navigationLink>
  1130. <maml:linkText>Get-PHPSetting</maml:linkText>
  1131. <maml:uri />
  1132. </maml:navigationLink>
  1133. <maml:navigationLink>
  1134. <maml:linkText>Set-PHPSetting</maml:linkText>
  1135. <maml:uri />
  1136. </maml:navigationLink>
  1137. <maml:navigationLink>
  1138. <maml:linkText>Remove-PHPSetting</maml:linkText>
  1139. <maml:uri />
  1140. </maml:navigationLink>
  1141. </maml:relatedLinks>
  1142. </command:command>
  1143. <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
  1144. <!--Generated by Help Cmdlet Editor-->
  1145. <command:details>
  1146. <command:name>New-PHPVersion</command:name>
  1147. <maml:description>
  1148. <maml:para>Registers new PHP version on specified IIS web site and application.</maml:para>
  1149. </maml:description>
  1150. <maml:copyright>
  1151. <maml:para />
  1152. <!--Add copy right info here.-->
  1153. </maml:copyright>
  1154. <command:verb>New</command:verb>
  1155. <command:noun>PHPVersion</command:noun>
  1156. <!--Add Dev version info here.-->
  1157. <dev:version />
  1158. </command:details>
  1159. <maml:description>
  1160. <!--This is the Description section-->
  1161. <maml:para>The New-PHPVersion cmdlet registers new PHP version with IIS on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter. If neither "SiteName" nor "VirtualPath" specified then PHP will be registered on a server level.</maml:para>
  1162. </maml:description>
  1163. <command:syntax>
  1164. <command:syntaxItem>
  1165. <maml:name>New-PHPVersion</maml:name>
  1166. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
  1167. <maml:name>ScriptProcessor</maml:name>
  1168. <maml:description>
  1169. <maml:para>Specifies the path to the PHP executable file - php-cgi.exe.</maml:para>
  1170. </maml:description>
  1171. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1172. </command:parameter>
  1173. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1174. <maml:name>SiteName</maml:name>
  1175. <maml:description>
  1176. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  1177. </maml:description>
  1178. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1179. </command:parameter>
  1180. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1181. <maml:name>VirtualPath</maml:name>
  1182. <maml:description>
  1183. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  1184. </maml:description>
  1185. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1186. </command:parameter>
  1187. </command:syntaxItem>
  1188. </command:syntax>
  1189. <command:parameters>
  1190. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
  1191. <maml:name>ScriptProcessor</maml:name>
  1192. <maml:description>
  1193. <maml:para>Specifies the path to the PHP executable file - php-cgi.exe.</maml:para>
  1194. </maml:description>
  1195. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1196. <dev:type>
  1197. <maml:name>String</maml:name>
  1198. <maml:uri />
  1199. </dev:type>
  1200. <dev:defaultValue>
  1201. </dev:defaultValue>
  1202. </command:parameter>
  1203. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1204. <maml:name>SiteName</maml:name>
  1205. <maml:description>
  1206. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  1207. </maml:description>
  1208. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1209. <dev:type>
  1210. <maml:name>String</maml:name>
  1211. <maml:uri />
  1212. </dev:type>
  1213. <dev:defaultValue>
  1214. </dev:defaultValue>
  1215. </command:parameter>
  1216. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1217. <maml:name>VirtualPath</maml:name>
  1218. <maml:description>
  1219. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  1220. </maml:description>
  1221. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1222. <dev:type>
  1223. <maml:name>String</maml:name>
  1224. <maml:uri />
  1225. </dev:type>
  1226. <dev:defaultValue>
  1227. </dev:defaultValue>
  1228. </command:parameter>
  1229. </command:parameters>
  1230. <command:inputTypes>
  1231. <command:inputType>
  1232. <dev:type>
  1233. <maml:name>None</maml:name>
  1234. <maml:uri />
  1235. <maml:description>
  1236. <maml:para>
  1237. </maml:para>
  1238. </maml:description>
  1239. </dev:type>
  1240. <maml:description>
  1241. </maml:description>
  1242. </command:inputType>
  1243. </command:inputTypes>
  1244. <command:returnValues>
  1245. <command:returnValue>
  1246. <dev:type>
  1247. <maml:name>
  1248. </maml:name>
  1249. <maml:uri />
  1250. <maml:description>
  1251. <maml:para>
  1252. </maml:para>
  1253. </maml:description>
  1254. </dev:type>
  1255. <maml:description>
  1256. </maml:description>
  1257. </command:returnValue>
  1258. </command:returnValues>
  1259. <command:terminatingErrors>
  1260. </command:terminatingErrors>
  1261. <command:nonTerminatingErrors>
  1262. </command:nonTerminatingErrors>
  1263. <maml:alertSet>
  1264. <maml:title>
  1265. </maml:title>
  1266. <maml:alert>
  1267. <maml:para>
  1268. </maml:para>
  1269. </maml:alert>
  1270. </maml:alertSet>
  1271. <command:examples>
  1272. <command:example>
  1273. <maml:title>
  1274. -------------- Example 1 -------------- </maml:title>
  1275. <maml:introduction>
  1276. <maml:para>C:\PS&gt;</maml:para>
  1277. C:\PS&gt; </maml:introduction>
  1278. <dev:code>New-PHPVersion -ScriptProcessor C:\PHP\536\</dev:code>
  1279. <dev:remarks>
  1280. <maml:para>This command registers new PHP version, whose files are located at C:\PHP\536 directory.</maml:para>
  1281. <maml:para>
  1282. </maml:para>
  1283. <maml:para>
  1284. </maml:para>
  1285. <maml:para>
  1286. </maml:para>
  1287. <maml:para>
  1288. </maml:para>
  1289. </dev:remarks>
  1290. <command:commandLines>
  1291. <command:commandLine>
  1292. <command:commandText>
  1293. </command:commandText>
  1294. </command:commandLine>
  1295. </command:commandLines>
  1296. </command:example>
  1297. <command:example>
  1298. <maml:title>
  1299. -------------- Example 2 -------------- </maml:title>
  1300. <maml:introduction>
  1301. <maml:para>C:\PS&gt;</maml:para>
  1302. C:\PS&gt; </maml:introduction>
  1303. <dev:code>New-PHPVersion -ScriptProcessor C:\PHP\536\php-cgi.exe -SiteName mysite -VirtualPath /forum</dev:code>
  1304. <dev:remarks>
  1305. <maml:para>This command registers new version of PHP for the directory "/forum" on a site with name "mysite".</maml:para>
  1306. <maml:para>
  1307. </maml:para>
  1308. <maml:para>
  1309. </maml:para>
  1310. <maml:para>
  1311. </maml:para>
  1312. <maml:para>
  1313. </maml:para>
  1314. </dev:remarks>
  1315. <command:commandLines>
  1316. <command:commandLine>
  1317. <command:commandText>
  1318. </command:commandText>
  1319. </command:commandLine>
  1320. </command:commandLines>
  1321. </command:example>
  1322. </command:examples>
  1323. <maml:relatedLinks>
  1324. <maml:navigationLink>
  1325. <maml:linkText>Get-PHPVersion</maml:linkText>
  1326. <maml:uri />
  1327. </maml:navigationLink>
  1328. </maml:relatedLinks>
  1329. </command:command>
  1330. <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
  1331. <!--Generated by Help Cmdlet Editor-->
  1332. <command:details>
  1333. <command:name>Remove-PHPSetting</command:name>
  1334. <maml:description>
  1335. <maml:para>Removes an existing PHP setting from the currently active PHP version.</maml:para>
  1336. </maml:description>
  1337. <maml:copyright>
  1338. <maml:para />
  1339. <!--Add copy right info here.-->
  1340. </maml:copyright>
  1341. <command:verb>Remove</command:verb>
  1342. <command:noun>PHPSetting</command:noun>
  1343. <!--Add Dev version info here.-->
  1344. <dev:version />
  1345. </command:details>
  1346. <maml:description>
  1347. <!--This is the Description section-->
  1348. <maml:para>The Remove-PHPSetting cmdlet removes an existing PHP configuration setting from the PHP version that is currently active on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter.</maml:para>
  1349. </maml:description>
  1350. <command:syntax>
  1351. <command:syntaxItem>
  1352. <maml:name>Remove-PHPSetting</maml:name>
  1353. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1354. <maml:name>Force</maml:name>
  1355. <maml:description>
  1356. <maml:para>Suppresses all prompts. By default, Remove-PHPSetting displays a warning whenever you delete a PHP setting.</maml:para>
  1357. </maml:description>
  1358. </command:parameter>
  1359. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
  1360. <maml:name>Name</maml:name>
  1361. <maml:description>
  1362. <maml:para>Specifies the name of the setting to be removed.</maml:para>
  1363. </maml:description>
  1364. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1365. </command:parameter>
  1366. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1367. <maml:name>SiteName</maml:name>
  1368. <maml:description>
  1369. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  1370. </maml:description>
  1371. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1372. </command:parameter>
  1373. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1374. <maml:name>VirtualPath</maml:name>
  1375. <maml:description>
  1376. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  1377. </maml:description>
  1378. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1379. </command:parameter>
  1380. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1381. <maml:name>WhatIf</maml:name>
  1382. <maml:description>
  1383. <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
  1384. </maml:description>
  1385. </command:parameter>
  1386. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1387. <maml:name>Confirm</maml:name>
  1388. <maml:description>
  1389. <maml:para>Prompts you for confirmation before executing the command.
  1390. The Confirm parameter overrides the value of the $ConfirmPreference
  1391. variable for the current command. The default value is High. For more
  1392. information, type the following command:
  1393. get-help about_preference_variables</maml:para>
  1394. </maml:description>
  1395. </command:parameter>
  1396. </command:syntaxItem>
  1397. </command:syntax>
  1398. <command:parameters>
  1399. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1400. <maml:name>Force</maml:name>
  1401. <maml:description>
  1402. <maml:para>Suppresses all prompts. By default, Remove-PHPSetting displays a warning whenever you delete a PHP setting.</maml:para>
  1403. </maml:description>
  1404. <dev:type>
  1405. <maml:name>SwitchParameter</maml:name>
  1406. <maml:uri />
  1407. </dev:type>
  1408. <dev:defaultValue>
  1409. </dev:defaultValue>
  1410. </command:parameter>
  1411. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
  1412. <maml:name>Name</maml:name>
  1413. <maml:description>
  1414. <maml:para>Specifies the name of the setting to be removed.</maml:para>
  1415. </maml:description>
  1416. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1417. <dev:type>
  1418. <maml:name>String</maml:name>
  1419. <maml:uri />
  1420. </dev:type>
  1421. <dev:defaultValue>
  1422. </dev:defaultValue>
  1423. </command:parameter>
  1424. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1425. <maml:name>SiteName</maml:name>
  1426. <maml:description>
  1427. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  1428. </maml:description>
  1429. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1430. <dev:type>
  1431. <maml:name>String</maml:name>
  1432. <maml:uri />
  1433. </dev:type>
  1434. <dev:defaultValue>
  1435. </dev:defaultValue>
  1436. </command:parameter>
  1437. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1438. <maml:name>VirtualPath</maml:name>
  1439. <maml:description>
  1440. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  1441. </maml:description>
  1442. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1443. <dev:type>
  1444. <maml:name>String</maml:name>
  1445. <maml:uri />
  1446. </dev:type>
  1447. <dev:defaultValue>
  1448. </dev:defaultValue>
  1449. </command:parameter>
  1450. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1451. <maml:name>WhatIf</maml:name>
  1452. <maml:description>
  1453. <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
  1454. </maml:description>
  1455. <dev:type>
  1456. <maml:name>SwitchParameter</maml:name>
  1457. <maml:uri />
  1458. </dev:type>
  1459. <dev:defaultValue>
  1460. </dev:defaultValue>
  1461. </command:parameter>
  1462. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1463. <maml:name>Confirm</maml:name>
  1464. <maml:description>
  1465. <maml:para>Prompts you for confirmation before executing the command.
  1466. The Confirm parameter overrides the value of the $ConfirmPreference
  1467. variable for the current command. The default value is High. For more
  1468. information, type the following command:
  1469. get-help about_preference_variables</maml:para>
  1470. </maml:description>
  1471. <dev:type>
  1472. <maml:name>SwitchParameter</maml:name>
  1473. <maml:uri />
  1474. </dev:type>
  1475. <dev:defaultValue>
  1476. </dev:defaultValue>
  1477. </command:parameter>
  1478. </command:parameters>
  1479. <command:inputTypes>
  1480. <command:inputType>
  1481. <dev:type>
  1482. <maml:name>
  1483. </maml:name>
  1484. <maml:uri />
  1485. <maml:description>
  1486. <maml:para>
  1487. </maml:para>
  1488. </maml:description>
  1489. </dev:type>
  1490. <maml:description>
  1491. </maml:description>
  1492. </command:inputType>
  1493. </command:inputTypes>
  1494. <command:returnValues>
  1495. <command:returnValue>
  1496. <dev:type>
  1497. <maml:name>
  1498. </maml:name>
  1499. <maml:uri />
  1500. <maml:description>
  1501. <maml:para>
  1502. </maml:para>
  1503. </maml:description>
  1504. </dev:type>
  1505. <maml:description>
  1506. </maml:description>
  1507. </command:returnValue>
  1508. </command:returnValues>
  1509. <command:terminatingErrors>
  1510. </command:terminatingErrors>
  1511. <command:nonTerminatingErrors>
  1512. </command:nonTerminatingErrors>
  1513. <maml:alertSet>
  1514. <maml:title>
  1515. </maml:title>
  1516. <maml:alert>
  1517. <maml:para>
  1518. </maml:para>
  1519. </maml:alert>
  1520. </maml:alertSet>
  1521. <command:examples>
  1522. <command:example>
  1523. <maml:title>
  1524. -------------- Example 1 -------------- </maml:title>
  1525. <maml:introduction>
  1526. <maml:para>C:\PS&gt;</maml:para>
  1527. C:\PS&gt; </maml:introduction>
  1528. <dev:code>Remove-PHPSetting wincache.fcndetect -Force</dev:code>
  1529. <dev:remarks>
  1530. <maml:para>This command removes the PHP setting wincache.fcndetect from the configuration for the currently active PHP version without prompting for confirmation.</maml:para>
  1531. <maml:para>
  1532. </maml:para>
  1533. <maml:para>
  1534. </maml:para>
  1535. <maml:para>
  1536. </maml:para>
  1537. <maml:para>
  1538. </maml:para>
  1539. </dev:remarks>
  1540. <command:commandLines>
  1541. <command:commandLine>
  1542. <command:commandText>
  1543. </command:commandText>
  1544. </command:commandLine>
  1545. </command:commandLines>
  1546. </command:example>
  1547. <command:example>
  1548. <maml:title>
  1549. -------------- Example 2 -------------- </maml:title>
  1550. <maml:introduction>
  1551. <maml:para>C:\PS&gt;</maml:para>
  1552. C:\PS&gt; </maml:introduction>
  1553. <dev:code>Remove-PHPSetting -Name wincache.debuglevel -SiteName mysite -VirtualPath /forum</dev:code>
  1554. <dev:remarks>
  1555. <maml:para>This command removes a configuration settings for the PHP version that is used for the directory "/forum" on a site with name "mysite".</maml:para>
  1556. <maml:para>
  1557. </maml:para>
  1558. <maml:para>
  1559. </maml:para>
  1560. <maml:para>
  1561. </maml:para>
  1562. <maml:para>
  1563. </maml:para>
  1564. </dev:remarks>
  1565. <command:commandLines>
  1566. <command:commandLine>
  1567. <command:commandText>
  1568. </command:commandText>
  1569. </command:commandLine>
  1570. </command:commandLines>
  1571. </command:example>
  1572. </command:examples>
  1573. <maml:relatedLinks>
  1574. <maml:navigationLink>
  1575. <maml:linkText>New-PHPSetting</maml:linkText>
  1576. <maml:uri />
  1577. </maml:navigationLink>
  1578. <maml:navigationLink>
  1579. <maml:linkText>Set-PHPSetting</maml:linkText>
  1580. <maml:uri />
  1581. </maml:navigationLink>
  1582. <maml:navigationLink>
  1583. <maml:linkText>Get-PHPSetting</maml:linkText>
  1584. <maml:uri />
  1585. </maml:navigationLink>
  1586. </maml:relatedLinks>
  1587. </command:command>
  1588. <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
  1589. <!--Generated by Help Cmdlet Editor-->
  1590. <command:details>
  1591. <command:name>Set-PHPExtension</command:name>
  1592. <maml:description>
  1593. <maml:para>Enables or disables PHP extensions for currently active PHP version.</maml:para>
  1594. </maml:description>
  1595. <maml:copyright>
  1596. <maml:para />
  1597. <!--Add copy right info here.-->
  1598. </maml:copyright>
  1599. <command:verb>Set</command:verb>
  1600. <command:noun>PHPExtension</command:noun>
  1601. <!--Add Dev version info here.-->
  1602. <dev:version />
  1603. </command:details>
  1604. <maml:description>
  1605. <!--This is the Description section-->
  1606. <maml:para>The Set-PHPExtension cmdlet enables or disables PHP extensions available in the currently active PHP version. This cmdlet can get the name of extension from the PowerShell pipe.</maml:para>
  1607. </maml:description>
  1608. <command:syntax>
  1609. <command:syntaxItem>
  1610. <maml:name>Set-PHPExtension</maml:name>
  1611. <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
  1612. <maml:name>Name</maml:name>
  1613. <maml:description>
  1614. <maml:para>Specifies the name of the extension to set.</maml:para>
  1615. </maml:description>
  1616. <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
  1617. </command:parameter>
  1618. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
  1619. <maml:name>Status</maml:name>
  1620. <maml:description>
  1621. <maml:para>Specifies the status to use for this extension. Allowed values are "Enabled" and "Disabled".</maml:para>
  1622. </maml:description>
  1623. <command:parameterValue required="true" variableLength="false">PHPExtensionStatus</command:parameterValue>
  1624. </command:parameter>
  1625. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1626. <maml:name>SiteName</maml:name>
  1627. <maml:description>
  1628. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  1629. </maml:description>
  1630. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1631. </command:parameter>
  1632. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1633. <maml:name>VirtualPath</maml:name>
  1634. <maml:description>
  1635. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  1636. </maml:description>
  1637. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1638. </command:parameter>
  1639. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1640. <maml:name>WhatIf</maml:name>
  1641. <maml:description>
  1642. <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
  1643. </maml:description>
  1644. </command:parameter>
  1645. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1646. <maml:name>Confirm</maml:name>
  1647. <maml:description>
  1648. <maml:para>Prompts you for confirmation before executing the command.
  1649. The Confirm parameter overrides the value of the $ConfirmPreference
  1650. variable for the current command. The default value is High. For more
  1651. information, type the following command:
  1652. get-help about_preference_variables</maml:para>
  1653. </maml:description>
  1654. </command:parameter>
  1655. </command:syntaxItem>
  1656. </command:syntax>
  1657. <command:parameters>
  1658. <command:parameter required="true" variableLength="true" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
  1659. <maml:name>Name</maml:name>
  1660. <maml:description>
  1661. <maml:para>Specifies the name of the extension to set.</maml:para>
  1662. </maml:description>
  1663. <command:parameterValue required="true" variableLength="true">String[]</command:parameterValue>
  1664. <dev:type>
  1665. <maml:name>String[]</maml:name>
  1666. <maml:uri />
  1667. </dev:type>
  1668. <dev:defaultValue>
  1669. </dev:defaultValue>
  1670. </command:parameter>
  1671. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
  1672. <maml:name>Status</maml:name>
  1673. <maml:description>
  1674. <maml:para>Specifies the status to use for this extension. Allowed values are "Enabled" and "Disabled".</maml:para>
  1675. </maml:description>
  1676. <command:parameterValue required="true" variableLength="false">PHPExtensionStatus</command:parameterValue>
  1677. <dev:type>
  1678. <maml:name>PHPExtensionStatus</maml:name>
  1679. <maml:uri />
  1680. </dev:type>
  1681. <dev:defaultValue>
  1682. </dev:defaultValue>
  1683. </command:parameter>
  1684. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1685. <maml:name>SiteName</maml:name>
  1686. <maml:description>
  1687. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  1688. </maml:description>
  1689. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1690. <dev:type>
  1691. <maml:name>String</maml:name>
  1692. <maml:uri />
  1693. </dev:type>
  1694. <dev:defaultValue>
  1695. </dev:defaultValue>
  1696. </command:parameter>
  1697. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1698. <maml:name>VirtualPath</maml:name>
  1699. <maml:description>
  1700. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  1701. </maml:description>
  1702. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1703. <dev:type>
  1704. <maml:name>String</maml:name>
  1705. <maml:uri />
  1706. </dev:type>
  1707. <dev:defaultValue>
  1708. </dev:defaultValue>
  1709. </command:parameter>
  1710. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1711. <maml:name>WhatIf</maml:name>
  1712. <maml:description>
  1713. <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
  1714. </maml:description>
  1715. <dev:type>
  1716. <maml:name>SwitchParameter</maml:name>
  1717. <maml:uri />
  1718. </dev:type>
  1719. <dev:defaultValue>
  1720. </dev:defaultValue>
  1721. </command:parameter>
  1722. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1723. <maml:name>Confirm</maml:name>
  1724. <maml:description>
  1725. <maml:para>Prompts you for confirmation before executing the command.
  1726. The Confirm parameter overrides the value of the $ConfirmPreference
  1727. variable for the current command. The default value is High. For more
  1728. information, type the following command:
  1729. get-help about_preference_variables</maml:para>
  1730. </maml:description>
  1731. <dev:type>
  1732. <maml:name>SwitchParameter</maml:name>
  1733. <maml:uri />
  1734. </dev:type>
  1735. <dev:defaultValue>
  1736. </dev:defaultValue>
  1737. </command:parameter>
  1738. </command:parameters>
  1739. <command:inputTypes>
  1740. <command:inputType>
  1741. <dev:type>
  1742. <maml:name>String</maml:name>
  1743. <maml:uri />
  1744. <maml:description>
  1745. <maml:para>Name of the extension.</maml:para>
  1746. </maml:description>
  1747. </dev:type>
  1748. <maml:description>
  1749. </maml:description>
  1750. </command:inputType>
  1751. </command:inputTypes>
  1752. <command:returnValues>
  1753. <command:returnValue>
  1754. <dev:type>
  1755. <maml:name>
  1756. </maml:name>
  1757. <maml:uri />
  1758. <maml:description>
  1759. <maml:para>
  1760. </maml:para>
  1761. </maml:description>
  1762. </dev:type>
  1763. <maml:description>
  1764. </maml:description>
  1765. </command:returnValue>
  1766. </command:returnValues>
  1767. <command:terminatingErrors>
  1768. </command:terminatingErrors>
  1769. <command:nonTerminatingErrors>
  1770. </command:nonTerminatingErrors>
  1771. <maml:alertSet>
  1772. <maml:title>
  1773. </maml:title>
  1774. <maml:alert>
  1775. <maml:para>
  1776. </maml:para>
  1777. </maml:alert>
  1778. </maml:alertSet>
  1779. <command:examples>
  1780. <command:example>
  1781. <maml:title>
  1782. -------------- Example 1 -------------- </maml:title>
  1783. <maml:introduction>
  1784. <maml:para>C:\PS&gt;</maml:para>
  1785. C:\PS&gt; </maml:introduction>
  1786. <dev:code>Set-PHPExtension -Name php_wincache.dll -Status Enabled</dev:code>
  1787. <dev:remarks>
  1788. <maml:para>This command enables php_wincache.dll extension.</maml:para>
  1789. <maml:para>
  1790. </maml:para>
  1791. <maml:para>
  1792. </maml:para>
  1793. <maml:para>
  1794. </maml:para>
  1795. <maml:para>
  1796. </maml:para>
  1797. </dev:remarks>
  1798. <command:commandLines>
  1799. <command:commandLine>
  1800. <command:commandText>
  1801. </command:commandText>
  1802. </command:commandLine>
  1803. </command:commandLines>
  1804. </command:example>
  1805. <command:example>
  1806. <maml:title>
  1807. -------------- Example 2 -------------- </maml:title>
  1808. <maml:introduction>
  1809. <maml:para>C:\PS&gt;</maml:para>
  1810. C:\PS&gt; </maml:introduction>
  1811. <dev:code>Get-PHPExtension -Name *pdo* | Set-PHPExtension -Status Enabled</dev:code>
  1812. <dev:remarks>
  1813. <maml:para>This command enables all available extension that have "pdo" in their names.</maml:para>
  1814. <maml:para>
  1815. </maml:para>
  1816. <maml:para>
  1817. </maml:para>
  1818. <maml:para>
  1819. </maml:para>
  1820. <maml:para>
  1821. </maml:para>
  1822. </dev:remarks>
  1823. <command:commandLines>
  1824. <command:commandLine>
  1825. <command:commandText>
  1826. </command:commandText>
  1827. </command:commandLine>
  1828. </command:commandLines>
  1829. </command:example>
  1830. <command:example>
  1831. <maml:title>
  1832. -------------- Example 3 -------------- </maml:title>
  1833. <maml:introduction>
  1834. <maml:para>C:\PS&gt;</maml:para>
  1835. C:\PS&gt; </maml:introduction>
  1836. <dev:code>Set-PHPExtension -Name php_wincache.dll -Status Enabled -SiteName mysite -VirtualPath /forum</dev:code>
  1837. <dev:remarks>
  1838. <maml:para>This command enables WinCache extensio for the PHP version that is used for the directory "/forum" on a site with name "mysite".</maml:para>
  1839. <maml:para>
  1840. </maml:para>
  1841. <maml:para>
  1842. </maml:para>
  1843. <maml:para>
  1844. </maml:para>
  1845. <maml:para>
  1846. </maml:para>
  1847. </dev:remarks>
  1848. <command:commandLines>
  1849. <command:commandLine>
  1850. <command:commandText>
  1851. </command:commandText>
  1852. </command:commandLine>
  1853. </command:commandLines>
  1854. </command:example>
  1855. </command:examples>
  1856. <maml:relatedLinks>
  1857. <maml:navigationLink>
  1858. <maml:linkText>Get-PHPExtension</maml:linkText>
  1859. <maml:uri />
  1860. </maml:navigationLink>
  1861. </maml:relatedLinks>
  1862. </command:command>
  1863. <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
  1864. <!--Generated by Help Cmdlet Editor-->
  1865. <command:details>
  1866. <command:name>Set-PHPSetting</command:name>
  1867. <maml:description>
  1868. <maml:para>Changes the value of an existing PHP setting for the currently active PHP version.</maml:para>
  1869. </maml:description>
  1870. <maml:copyright>
  1871. <maml:para />
  1872. <!--Add copy right info here.-->
  1873. </maml:copyright>
  1874. <command:verb>Set</command:verb>
  1875. <command:noun>PHPSetting</command:noun>
  1876. <!--Add Dev version info here.-->
  1877. <dev:version />
  1878. </command:details>
  1879. <maml:description>
  1880. <!--This is the Description section-->
  1881. <maml:para>The Set-PHPSetting cmdlet changes the value of an existing PHP configuration setting for the PHP version that is currently active on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter.</maml:para>
  1882. </maml:description>
  1883. <command:syntax>
  1884. <command:syntaxItem>
  1885. <maml:name>Set-PHPSetting</maml:name>
  1886. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
  1887. <maml:name>Name</maml:name>
  1888. <maml:description>
  1889. <maml:para>Specifies the name of the PHP setting to change.</maml:para>
  1890. </maml:description>
  1891. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1892. </command:parameter>
  1893. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
  1894. <maml:name>Value</maml:name>
  1895. <maml:description>
  1896. <maml:para>Specifies a new value for the PHP setting.</maml:para>
  1897. </maml:description>
  1898. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1899. </command:parameter>
  1900. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1901. <maml:name>SiteName</maml:name>
  1902. <maml:description>
  1903. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  1904. </maml:description>
  1905. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1906. </command:parameter>
  1907. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1908. <maml:name>VirtualPath</maml:name>
  1909. <maml:description>
  1910. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  1911. </maml:description>
  1912. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1913. </command:parameter>
  1914. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1915. <maml:name>WhatIf</maml:name>
  1916. <maml:description>
  1917. <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
  1918. </maml:description>
  1919. </command:parameter>
  1920. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1921. <maml:name>Confirm</maml:name>
  1922. <maml:description>
  1923. <maml:para>Prompts you for confirmation before executing the command.
  1924. The Confirm parameter overrides the value of the $ConfirmPreference
  1925. variable for the current command. The default value is High. For more
  1926. information, type the following command:
  1927. get-help about_preference_variables</maml:para>
  1928. </maml:description>
  1929. </command:parameter>
  1930. </command:syntaxItem>
  1931. </command:syntax>
  1932. <command:parameters>
  1933. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="1">
  1934. <maml:name>Name</maml:name>
  1935. <maml:description>
  1936. <maml:para>Specifies the name of the PHP setting to change.</maml:para>
  1937. </maml:description>
  1938. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1939. <dev:type>
  1940. <maml:name>String</maml:name>
  1941. <maml:uri />
  1942. </dev:type>
  1943. <dev:defaultValue>
  1944. </dev:defaultValue>
  1945. </command:parameter>
  1946. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="false" position="2">
  1947. <maml:name>Value</maml:name>
  1948. <maml:description>
  1949. <maml:para>Specifies a new value for the PHP setting.</maml:para>
  1950. </maml:description>
  1951. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1952. <dev:type>
  1953. <maml:name>String</maml:name>
  1954. <maml:uri />
  1955. </dev:type>
  1956. <dev:defaultValue>
  1957. </dev:defaultValue>
  1958. </command:parameter>
  1959. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1960. <maml:name>SiteName</maml:name>
  1961. <maml:description>
  1962. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  1963. </maml:description>
  1964. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1965. <dev:type>
  1966. <maml:name>String</maml:name>
  1967. <maml:uri />
  1968. </dev:type>
  1969. <dev:defaultValue>
  1970. </dev:defaultValue>
  1971. </command:parameter>
  1972. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1973. <maml:name>VirtualPath</maml:name>
  1974. <maml:description>
  1975. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  1976. </maml:description>
  1977. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  1978. <dev:type>
  1979. <maml:name>String</maml:name>
  1980. <maml:uri />
  1981. </dev:type>
  1982. <dev:defaultValue>
  1983. </dev:defaultValue>
  1984. </command:parameter>
  1985. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1986. <maml:name>WhatIf</maml:name>
  1987. <maml:description>
  1988. <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
  1989. </maml:description>
  1990. <dev:type>
  1991. <maml:name>SwitchParameter</maml:name>
  1992. <maml:uri />
  1993. </dev:type>
  1994. <dev:defaultValue>
  1995. </dev:defaultValue>
  1996. </command:parameter>
  1997. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  1998. <maml:name>Confirm</maml:name>
  1999. <maml:description>
  2000. <maml:para>Prompts you for confirmation before executing the command.
  2001. The Confirm parameter overrides the value of the $ConfirmPreference
  2002. variable for the current command. The default value is High. For more
  2003. information, type the following command:
  2004. get-help about_preference_variables</maml:para>
  2005. </maml:description>
  2006. <dev:type>
  2007. <maml:name>SwitchParameter</maml:name>
  2008. <maml:uri />
  2009. </dev:type>
  2010. <dev:defaultValue>
  2011. </dev:defaultValue>
  2012. </command:parameter>
  2013. </command:parameters>
  2014. <command:inputTypes>
  2015. <command:inputType>
  2016. <dev:type>
  2017. <maml:name>
  2018. </maml:name>
  2019. <maml:uri />
  2020. <maml:description>
  2021. <maml:para>
  2022. </maml:para>
  2023. </maml:description>
  2024. </dev:type>
  2025. <maml:description>
  2026. </maml:description>
  2027. </command:inputType>
  2028. </command:inputTypes>
  2029. <command:returnValues>
  2030. <command:returnValue>
  2031. <dev:type>
  2032. <maml:name>
  2033. </maml:name>
  2034. <maml:uri />
  2035. <maml:description>
  2036. <maml:para>
  2037. </maml:para>
  2038. </maml:description>
  2039. </dev:type>
  2040. <maml:description>
  2041. </maml:description>
  2042. </command:returnValue>
  2043. </command:returnValues>
  2044. <command:terminatingErrors>
  2045. </command:terminatingErrors>
  2046. <command:nonTerminatingErrors>
  2047. </command:nonTerminatingErrors>
  2048. <maml:alertSet>
  2049. <maml:title>
  2050. </maml:title>
  2051. <maml:alert>
  2052. <maml:para>
  2053. </maml:para>
  2054. </maml:alert>
  2055. </maml:alertSet>
  2056. <command:examples>
  2057. <command:example>
  2058. <maml:title>
  2059. -------------- Example 1 -------------- </maml:title>
  2060. <maml:introduction>
  2061. <maml:para>C:\PS&gt;</maml:para>
  2062. C:\PS&gt; </maml:introduction>
  2063. <dev:code>Set-PHPSetting -Name wincache.fcndetect -Value 1</dev:code>
  2064. <dev:remarks>
  2065. <maml:para>This command sets the PHP setting "wincache.fcndetect" to 1.</maml:para>
  2066. <maml:para>
  2067. </maml:para>
  2068. <maml:para>
  2069. </maml:para>
  2070. <maml:para>
  2071. </maml:para>
  2072. <maml:para>
  2073. </maml:para>
  2074. </dev:remarks>
  2075. <command:commandLines>
  2076. <command:commandLine>
  2077. <command:commandText>
  2078. </command:commandText>
  2079. </command:commandLine>
  2080. </command:commandLines>
  2081. </command:example>
  2082. <command:example>
  2083. <maml:title>
  2084. -------------- Example 2 -------------- </maml:title>
  2085. <maml:introduction>
  2086. <maml:para>C:\PS&gt;</maml:para>
  2087. C:\PS&gt; </maml:introduction>
  2088. <dev:code>Set-PHPSetting -Name wincache.debuglevel -Value 101 -SiteName mysite -VirtualPath /forum</dev:code>
  2089. <dev:remarks>
  2090. <maml:para>This command sets a configuration settings for the PHP version that is used for the directory "/forum" on a site with name "mysite".</maml:para>
  2091. <maml:para>
  2092. </maml:para>
  2093. <maml:para>
  2094. </maml:para>
  2095. <maml:para>
  2096. </maml:para>
  2097. <maml:para>
  2098. </maml:para>
  2099. </dev:remarks>
  2100. <command:commandLines>
  2101. <command:commandLine>
  2102. <command:commandText>
  2103. </command:commandText>
  2104. </command:commandLine>
  2105. </command:commandLines>
  2106. </command:example>
  2107. </command:examples>
  2108. <maml:relatedLinks>
  2109. <maml:navigationLink>
  2110. <maml:linkText>New-PHPSetting</maml:linkText>
  2111. <maml:uri />
  2112. </maml:navigationLink>
  2113. <maml:navigationLink>
  2114. <maml:linkText>Get-PHPSetting</maml:linkText>
  2115. <maml:uri />
  2116. </maml:navigationLink>
  2117. <maml:navigationLink>
  2118. <maml:linkText>Remove-PHPSetting</maml:linkText>
  2119. <maml:uri />
  2120. </maml:navigationLink>
  2121. </maml:relatedLinks>
  2122. </command:command>
  2123. <command:command xmlns:maml="http://schemas.microsoft.com/maml/2004/10" xmlns:command="http://schemas.microsoft.com/maml/dev/command/2004/10" xmlns:dev="http://schemas.microsoft.com/maml/dev/2004/10">
  2124. <!--Generated by Help Cmdlet Editor-->
  2125. <command:details>
  2126. <command:name>Set-PHPVersion</command:name>
  2127. <maml:description>
  2128. <maml:para>Sets an active PHP version on specified IIS web site and application.</maml:para>
  2129. </maml:description>
  2130. <maml:copyright>
  2131. <maml:para />
  2132. <!--Add copy right info here.-->
  2133. </maml:copyright>
  2134. <command:verb>Set</command:verb>
  2135. <command:noun>PHPVersion</command:noun>
  2136. <!--Add Dev version info here.-->
  2137. <dev:version />
  2138. </command:details>
  2139. <maml:description>
  2140. <!--This is the Description section-->
  2141. <maml:para>The Set-PHPVersion cmdlet sets an active PHP version on the site specified by "SiteName" parameter and on the application/folder specified by "VirtualPath" parameter.</maml:para>
  2142. </maml:description>
  2143. <command:syntax>
  2144. <command:syntaxItem>
  2145. <maml:name>Set-PHPVersion</maml:name>
  2146. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
  2147. <maml:name>HandlerName</maml:name>
  2148. <maml:description>
  2149. <maml:para>Specifies the name of the handler mapping for an existing PHP version.</maml:para>
  2150. </maml:description>
  2151. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  2152. </command:parameter>
  2153. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  2154. <maml:name>SiteName</maml:name>
  2155. <maml:description>
  2156. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  2157. </maml:description>
  2158. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  2159. </command:parameter>
  2160. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  2161. <maml:name>VirtualPath</maml:name>
  2162. <maml:description>
  2163. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  2164. </maml:description>
  2165. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  2166. </command:parameter>
  2167. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  2168. <maml:name>WhatIf</maml:name>
  2169. <maml:description>
  2170. <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
  2171. </maml:description>
  2172. </command:parameter>
  2173. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  2174. <maml:name>Confirm</maml:name>
  2175. <maml:description>
  2176. <maml:para>Prompts you for confirmation before executing the command.
  2177. The Confirm parameter overrides the value of the $ConfirmPreference
  2178. variable for the current command. The default value is High. For more
  2179. information, type the following command:
  2180. get-help about_preference_variables</maml:para>
  2181. </maml:description>
  2182. </command:parameter>
  2183. </command:syntaxItem>
  2184. </command:syntax>
  2185. <command:parameters>
  2186. <command:parameter required="true" variableLength="false" globbing="false" pipelineInput="true (ByPropertyName)" position="1">
  2187. <maml:name>HandlerName</maml:name>
  2188. <maml:description>
  2189. <maml:para>Specifies the name of the handler mapping for an existing PHP version.</maml:para>
  2190. </maml:description>
  2191. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  2192. <dev:type>
  2193. <maml:name>String</maml:name>
  2194. <maml:uri />
  2195. </dev:type>
  2196. <dev:defaultValue>
  2197. </dev:defaultValue>
  2198. </command:parameter>
  2199. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  2200. <maml:name>SiteName</maml:name>
  2201. <maml:description>
  2202. <maml:para>Specifies a name of existing web site. The cmdlet will use the PHP version that is active for that web site. If this parameter is not specified then PHP version on a server level will be used.</maml:para>
  2203. </maml:description>
  2204. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  2205. <dev:type>
  2206. <maml:name>String</maml:name>
  2207. <maml:uri />
  2208. </dev:type>
  2209. <dev:defaultValue>
  2210. </dev:defaultValue>
  2211. </command:parameter>
  2212. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  2213. <maml:name>VirtualPath</maml:name>
  2214. <maml:description>
  2215. <maml:para>Specifies a path within a web site. The cmdlet will use the PHP version that is active for that configuration path within a web site. If this parameter is not specified then PHP version for the root directory of web site will be used.</maml:para>
  2216. </maml:description>
  2217. <command:parameterValue required="true" variableLength="false">String</command:parameterValue>
  2218. <dev:type>
  2219. <maml:name>String</maml:name>
  2220. <maml:uri />
  2221. </dev:type>
  2222. <dev:defaultValue>
  2223. </dev:defaultValue>
  2224. </command:parameter>
  2225. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  2226. <maml:name>WhatIf</maml:name>
  2227. <maml:description>
  2228. <maml:para>Describes what would happen if you executed the command without actually executing the command.</maml:para>
  2229. </maml:description>
  2230. <dev:type>
  2231. <maml:name>SwitchParameter</maml:name>
  2232. <maml:uri />
  2233. </dev:type>
  2234. <dev:defaultValue>
  2235. </dev:defaultValue>
  2236. </command:parameter>
  2237. <command:parameter required="false" variableLength="false" globbing="false" pipelineInput="false" position="named">
  2238. <maml:name>Confirm</maml:name>
  2239. <maml:description>
  2240. <maml:para>Prompts you for confirmation before executing the command.
  2241. The Confirm parameter overrides the value of the $ConfirmPreference
  2242. variable for the current command. The default value is High. For more
  2243. information, type the following command:
  2244. get-help about_preference_variables</maml:para>
  2245. </maml:description>
  2246. <dev:type>
  2247. <maml:name>SwitchParameter</maml:name>
  2248. <maml:uri />
  2249. </dev:type>
  2250. <dev:defaultValue>
  2251. </dev:defaultValue>
  2252. </command:parameter>
  2253. </command:parameters>
  2254. <command:inputTypes>
  2255. <command:inputType>
  2256. <dev:type>
  2257. <maml:name>
  2258. </maml:name>
  2259. <maml:uri />
  2260. <maml:description>
  2261. <maml:para>
  2262. </maml:para>
  2263. </maml:description>
  2264. </dev:type>
  2265. <maml:description>
  2266. </maml:description>
  2267. </command:inputType>
  2268. </command:inputTypes>
  2269. <command:returnValues>
  2270. <command:returnValue>
  2271. <dev:type>
  2272. <maml:name>
  2273. </maml:name>
  2274. <maml:uri />
  2275. <maml:description>
  2276. <maml:para>
  2277. </maml:para>
  2278. </maml:description>
  2279. </dev:type>
  2280. <maml:description>
  2281. </maml:description>
  2282. </command:returnValue>
  2283. </command:returnValues>
  2284. <command:terminatingErrors>
  2285. </command:terminatingErrors>
  2286. <command:nonTerminatingErrors>
  2287. </command:nonTerminatingErrors>
  2288. <maml:alertSet>
  2289. <maml:title>
  2290. </maml:title>
  2291. <maml:alert>
  2292. <maml:para>
  2293. </maml:para>
  2294. </maml:alert>
  2295. </maml:alertSet>
  2296. <command:examples>
  2297. <command:example>
  2298. <maml:title>
  2299. -------------- Example 1 -------------- </maml:title>
  2300. <maml:introduction>
  2301. <maml:para>C:\PS&gt;</maml:para>
  2302. C:\PS&gt; </maml:introduction>
  2303. <dev:code>Set-PHPVersion -HandlerName php-5.3.6</dev:code>
  2304. <dev:remarks>
  2305. <maml:para>This command sets an active PHP version that has an IIS Handler name "php-5.3.6".</maml:para>
  2306. <maml:para>
  2307. </maml:para>
  2308. <maml:para>
  2309. </maml:para>
  2310. <maml:para>
  2311. </maml:para>
  2312. <maml:para>
  2313. </maml:para>
  2314. </dev:remarks>
  2315. <command:commandLines>
  2316. <command:commandLine>
  2317. <command:commandText>
  2318. </command:commandText>
  2319. </command:commandLine>
  2320. </command:commandLines>
  2321. </command:example>
  2322. <command:example>
  2323. <maml:title>
  2324. -------------- Example 2 -------------- </maml:title>
  2325. <maml:introduction>
  2326. <maml:para>C:\PS&gt;</maml:para>
  2327. C:\PS&gt; </maml:introduction>
  2328. <dev:code>Set-PHPVersion -SiteName mysite -VirtualPath /forum</dev:code>
  2329. <dev:remarks>
  2330. <maml:para>This command sets an active PHP version for the directory "/forum" on a site with name "mysite".</maml:para>
  2331. <maml:para>
  2332. </maml:para>
  2333. <maml:para>
  2334. </maml:para>
  2335. <maml:para>
  2336. </maml:para>
  2337. <maml:para>
  2338. </maml:para>
  2339. </dev:remarks>
  2340. <command:commandLines>
  2341. <command:commandLine>
  2342. <command:commandText>
  2343. </command:commandText>
  2344. </command:commandLine>
  2345. </command:commandLines>
  2346. </command:example>
  2347. </command:examples>
  2348. <maml:relatedLinks>
  2349. </maml:relatedLinks>
  2350. </command:command>
  2351. </helpItems>