Do you have an interest in getting PHP support in Azure Functions? Help me by answering a couple of questions about your PHP and Microsoft Azure desires.

Microsoft Azure is an awesome cloud service and PHP is an awesome technology to build amazing applications. And Azure Functions for serverless compute are a great way to reduce the dependency on complex logic, making your solutions super fast and reliable.

In2it has many PHP projects for clients successfully running in Microsoft Azure and our company is always looking for new ways to improve. See our latest article on “Scale to the clouds” on how we improve WordPress performance and security with Microsoft Azure.

Unfortunately Azure Functions don’t support PHP, even though PHP has evolved into a language that is capable of processing in a non-blocking way. Is it a lack of interest in PHP support for Azure Functions or something else? I don’t know.

Swoole for instance is a high-performance networking framework for PHP using an event-driven, asynchronous, non-blocking I/O model. It can be used to develop high-performance, scalable, concurrent TCP, UDP, Unix socket, HTTP, Websocket services. Another library that is gaining popularity is Bref but because there’s no PHP support in Azure, they only provide solutions for AWS.

<?php
require_once __DIR__ . '/../vendor/autoload.php';

$server = new Swoole\HTTP\Server("127.0.0.1", 9501);

$server->on("start", function (Swoole\Http\Server $server) {
    echo "Swoole http server is started at http://127.0.0.1:9501\n";
});

$server->on("request", function (Swoole\Http\Request $request, Swoole\Http\Response $response) {
    $response->header("Content-Type", "text/plain");
    $response->end("Hello World\n");
});

$server->start();

Therefor I’ve created this simple Google Form to collect some insights. If PHP is your passion and Microsoft Azure is your cloud of preference, please let me know if PHP support in Azure Functions is desired.


Thank you for your support.


Michelangelo van Dam

Michelangelo van Dam is a senior PHP architect, PHP community leader and international conference speaker with many contributions to PHP projects and community events.

Privacy Preference Center

Strictly Necessary Cookies

Cookies that are necessary for the site to function properly. As example we require a cookie to indicate you have agreed with our privacy settings and accepted the usage of cookies.

gdpr, PHPSESSION, JSESSIONID, wfvt_{hash}

Comment Cookies

When visitors comment on our news articles, and they have opted-in to save their details, we store a cookie on their computer to save their information. This is purely a convenience, so that the visitor doesn't need to re-type all their information again when they want to leave another comment.

They expire a little under one year from the time they're set.

comment_author_{HASH}, comment_author_email_{HASH}, comment_author_url_{HASH}

Marketing Cookies

For marketing purposes we use Google Analytics that will set cookies to capture your information.

_ga, _gid, _gat

3rd Party Cookies

These cookies are provided by third-party solutions providers from who we use their services (e.g. Twitter).

Depending on your own relationship with these services yourself, they also might set some cookies. Please review their privacy policy and cookie usage for more information.

_twitter_sess, ct0, guest_id, personalization_id, eu_cn, tk_tc, tk_ai, tk_qs, twostep_auth, wp-settings-{user_id}
_twitter_sess, ct0, guest_id, personalization_id, eu_cn
tk_tc, tk_ai, tk_qs, twostep_auth, wp-settings-{user_id}