Larry Franks and Brian Swan on Open Source and Device Development in the Cloud
I’m happy to share that PHP 5.4 is now available in Windows Azure Web Sites! You have always been able to install a custom PHP runtime in Web Sites, but now you can have PHP 5.4 available with the click of a button. And, you can customize the runtime (add/enable extensions, modify configuration settings). Details are in the instructions and links below…
1. Create a website. Any of the following articles will walk you through how to do this.
2. Click on the name of your site in the Windows Azure Portal:
3. Browse to the CONFIGURE tab, and select PHP 5.4 (notice that PHP 5.3 is enabled by default):
4. Click SAVE at the bottom of the screen:
If you browse to a script that calls phpinfo(), you should see this:
Of course, you can always revert back to PHP 5.3. And, you can still customize the built-in PHP runtime, or you can provide your own customized PHP runtime: How to configure PHP in Windows Azure Web Sites.
As always, we’d love to hear your feedback.
Can I run ionCube with this version of PHP? It requires being able to specify ZEND_EXTENSION somehow. Do I still need my own standalone implementation of PHP for that?
Hi Mike: I haven't tried to enable ionCube with this version of PHP. Have you tried enabling a Zend extension as shown in this post (can't recall if I mentioned this in the forums): blogs.msdn.com/.../how-to-enable-xdebug-in-windows-azure-web-sites.aspx. That post shows how to enable XDebug, also a Zend extension.
My PHP website is attempting to make a call to a compiled program and is failing with the error exec(): Unable to fork. Searching around shows that this is probably a permissions issue, and that I could provide the proper permissions to the IUSR account, but Azure websites don't allow this level of control. Is it possible for PHP to make a call to a compiled program in azure websites?
I meant to address Brian, sorry about that. Thanks in advance for your help Brian...
Thanks for Your instructions.....