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

Zend Developer Zone: ZendCon Sessions Episode 16: PECL Picks - Extensions to make your life better

Brian Swan's Blog: Azure Real World: Migrating a Drupal Site from LAMP to Windows Azure

DevShed: Working with the Tidy Library in PHP 5

MongoDB Blog: Call for Feedback: The New PHP and HHVM Drivers

Kevin Schroeder's Blog: ZF2 Dependency Injection: Managing Configuration - Part 1


Community Events

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


laravel framework example community php7 project composer series yii2 interview part2 opinion language introduction configure podcast list api application symfony

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