News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Maarten Balliauw's Blog:
Accessing ServiceConfiguration in FastCGI (PHP) web role
August 04, 2009 @ 10:22:08

New on Maarten Balliauw's blog today there's a post looking at FastCGI and how you can access the ServiceConfiguration settings for Azure from your PHP Windows applications.

While working on a sample PHP application hosted on Windows Azure, I found that it is nearly impossible to retrieve information from the Windows Azure ServiceConfiguration.cscfg file. Also, it is impossible to write log messages to the Windows Azure Web Role. Well, both are not 100% impossible: you can imagine dirty hacks where you let a ASP.NET page do something from PHP and stuff like that. But how about a clean solution? How about...A PHP extension module?

The extension (dll, source) lets you call methods like "azure_get_config" and azure_getlocalresourcepath" to pull information directly from your Azure installation.

0 comments voice your opinion now!
fastcgi azure windows extension configuration


blog comments powered by Disqus

Similar Posts

Simon Holywell: Improve PHP session cookie security

Stefan Koopmanschap's Blog: PHP on Azure contest: The cool stuff

SitePoint PHP Blog: Asset Access Restriction Methods Block Unwanted Visitors

Ernies Blog: Switching Between Multiple php Versions Using Apache on Windows

Mike Naberezny's Blog: Wrapping PHP Functions for Testability


Community Events





Don't see your event here?
Let us know!


tips interview bugfix introduction framework symfony laravel voicesoftheelephpant community deployment list language opinion podcast install release series api library package

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework