Kiwi Chris Posted March 13, 2023 Share Posted March 13, 2023 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? Link to comment Share on other sites More sharing options...
Jim Bailie Posted March 13, 2023 Share Posted March 13, 2023 I would think just a correct nginx config is all you need to worry about. Here's where I started from: https://gist.github.com/LostKobrakai/b895e2e0e8a2c14b4da88cc7e16cf954 Link to comment Share on other sites More sharing options...
Melakh Posted June 9, 2023 Share Posted June 9, 2023 Did you ever find an answer to this? Every combination I've tried of Nginx config fails outside the root. Link to comment Share on other sites More sharing options...
Kiwi Chris Posted June 21, 2023 Author Share Posted June 21, 2023 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. Link to comment Share on other sites More sharing options...
njokdan Posted May 10 Share Posted May 10 Hi, this issue can be resolved. Kindly find procedure in the link below: https://medium.com/@njokdan/making-processwire-work-on-azure-after-deployment-15261d2d2291 2 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now