Jump to content

Recommended Posts

Posted

Has anyone else managed to get ProcessWire working on Azure App service with PHP 8.x?

App Service runs a Docker container, but the container image has been changed from Apache to Nginx between PHP 7.x and 8.x so of course .htaccess files don't work.

I've followed instructions here: https://www.schakko.de/2021/09/08/deploying-php-8-0-applications-with-azure-app-service/

and tried to convert the ProcessWire .htaccess file here: https://winginx.com/en/htaccess

but the best I've been able to get was the home page loading, but all other pages just give a 404 error.

My client is a non-profit and want to use Azure because they get free hosting under Microsoft's non-profit programme, so before I give up, has anyone else managed to get this working?

  • 2 months later...
  • 2 weeks later...
Posted
On 6/10/2023 at 5:34 AM, Melakh said:

Every combination I've tried of Nginx config fails outside the root.

This is the experience I had. In the end I gave up and arranged alternative hosting. It seems other people had similar problems, and I wasted far too much time trying to get it to work.

I double checked and found that I could run ProcessWire fine with Nginx on my local development environment but Azure App service wouldn't properly handle the nginx config.

  • 10 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...