Getting some output
So time for some work on my European WinPHP Challenge entry tonight. Previously, I worked on setting up my Windows environment, and now it's time to work on getting my basic PHP setup running and configure the webserver to actually serve my PHP stuff.
First of all, I didn't want to reinvent the wheel for some basic stuff. So I did some research and ended up using several libraries:
- phpAzure: A library for connecting to Windows Azure services
- symfony request handler: Handling requests
- symfony response handler: Handling responses
Using this, I've created a basic system that allows me to easily handle the request with a single front controller, delegate the actual execution to a controller, then pass back (a decorated version of) the content the controller returns to the client. Since that is pretty much what a single call to the application should do, this means I have the basics covered.
After having the basic setup up and running, it was time to configure IIS to actually start serving content. I was happily surprised that, because I was using the Web Platform Installer, PHP was already fully configured and the only thing I needed to do was change the document root on the default "site" (which is the IIS term for Apache's VirtualHost) to my local clone of MediTerra, and restart the site. Pointing my browser to "localhost" then did the trick! Now that was easy!
Of course, the app still doesn't actually do something so my next task will be to start implementing actual functionality into the controllers to manage the content of Azure Storage. This will be something for my next WinPHP session.
May 12, 2010 - tags: winphp, php, mediterra, symfony, phpazure
Comments

Tommy: Hello,
I'm very interessted in the combination of Windows Azure Cloud and the symfony Framework. So, do I understand you right? Your are now able to run symfony on Windows Azure (also in the Dev. Fabric)? Do you maybe have a step by step instruction how to realize it. That would be very nice.
Many greetings,
T.
Orlando IT services: There is so much that you can get from this. I am glad to see this is working out. I see so much coming from it.
Ultra Tall Ugg Boots: pretty much what a single call to the application should do, this means I have the basics covered.
Sciatic nerve pain: How to get the output. This makes the things good for me and others also.
nystdh: pretty much what a single call to the application should do, this means I have the basics covered
sciatic nerve pain: Windows Azure provides a scalable environment with computing (web and worker roles), storage (blob storage, table storage), hosting (queue service), and management capabilities. It links to on-premises applications with secure connectivity, messaging, and identity management.
bestech dharuhera: After reading your article I was amazed. I know that you explain it very well. And I hope that other readers will also experience how I feel after reading your article. I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
bestech ananda: This site seems to receive a great deal of visitors.
lyme disease symptoms: Windows Azure provides a scalable environment with computing (web and worker roles), storage (blob storage, table storage), hosting (queue service), and management capabilities. It links to on-premises applications with secure connectivity, messaging, and identity management.
discount uggs: I am happy to find this post very useful for me, as it contains lot of information. I always prefer to read the quality content and this thing I found in your post. Thanks for sharing this one. discount ugg boots
cheap ugg boots: This is my first visit to your site. Today I have got a new site. I am really happy to be here. I am stay tuned here for your next blog... uggs boots discount
ugg boots cheap: Unlike other your piece of writing has a zeal that matters to your readers.it works according to the needs. discount uggs boots cheap
steelers jersey: This top ten issue is really helping me to choose which one is the best to work with. It doesn’t have to be number one but at least we can work with them well and they give us a good respond and the company has responsibility ugg boots cheap
coach outlet online: If you buy Coach items at the
coach outlet online
store, the goods will be sent out within 24 hours after confirming your payment and arrive to your door within 7 work days.No one can deny the shopping at the
coach factory outlet
is satisfactory. For the low prices and good quality.
coach outlet: coach outlet
handbags You can not just save your cash but also your time inside a convenient way to obtain the exact same bags product and do not be concerned the shippment of one's products.The
coach outlet store online
are utilized for formal event in company area that will display your excellent taste.Not only does a briefcase make is easier to carry things.
discount uggs boots: Your first-class knowledge about this good post can become a proper basis for such people. nice one!
colored contacts for dark eyes: Me había equivocado de almacenamiento SQLAzure y Azure tabla por alguna razón, y estaba tratando de conectarse a la tabla de almacenamiento al tiempo que estableció SQLAzure.
michael kors watches: This article was vey helpful to me. I believe this web site has very wonderful written subject matter articles. I recommended it on digg.