This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Server { | |
SourceRoot = /var/www | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Set-AzureWebsite -PhpVersion 5.3 -Name <site-name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
+----------------------------------------------------------------------------------------------+ | |
| Windows Cache for PHP | | |
+----------------------------------------------------------------------------------------------+ | |
| Copyright (c) 2009, Microsoft Corporation. All rights reserved. | | |
| | | |
| Redistribution and use in source and binary forms, with or without modification, are | | |
| permitted provided that the following conditions are met: | | |
| - Redistributions of source code must retain the above copyright notice, this list of | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[WinCache] | |
wincache.fcenabled=Off | |
[ZendGuard] | |
;zend_loader.enable=1 | |
;zend_loader.disable_licensing=0 | |
;zend_loader.obfuscation_level_support=3 | |
;zend_loader.license_path= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo phpinfo(); | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"require": { | |
"microsoft/windowsazure": "*" | |
}, | |
"repositories": [ | |
{ | |
"type": "pear", | |
"url": "http://pear.php.net" | |
} | |
], |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[PHP_WINCACHE] | |
extension=php_wincache.dll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<DiagnosticMonitorConfiguration xmlns="http://schemas.microsoft.com/ServiceHosting/2010/10/DiagnosticsConfiguration" | |
configurationChangePollInterval="PT1M" | |
overallQuotaInMB="4096"> | |
<DiagnosticInfrastructureLogs bufferQuotaInMB="1024" | |
scheduledTransferLogLevelFilter="Verbose" | |
scheduledTransferPeriod="PT1M" /> | |
<Logs bufferQuotaInMB="1024" | |
scheduledTransferLogLevelFilter="Verbose" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param([string]$DecryptionToken, [string]$DecryptionKey, [string]$ValidationToken, [string]$ValidationKey) | |
Import-Module WebAdministration | |
Foreach ($site in Get-Website IIS:\Sites) { | |
$curSite = $site.Name.ToString() | |
Set-WebConfigurationProperty /system.web/machinekey -PSPath "IIS:\Sites\$curSite" -Name Decryption -Value $DecryptionToken | |
Set-WebConfigurationProperty /system.web/machinekey -PSPath "IIS:\Sites\$curSite" -Name DecryptionKey -Value $DecryptionKey |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Gracefully Add the Windows Azure Service Management SnapIn | |
Add-PSSnapin -Name AzureManagementToolsSnapIn -ErrorAction SilentlyContinue | |
#Collect Required Variables | |
$serviceName = $args[0] | |
$slot = $args[1] | |
$subscriptionId = $args[2] | |
$certThumb = $args[3] | |
$package = $args[4] | |
$label = $args[5] |