Body
Environment
PHP, AFS virtual host
Issue
How to reconfigure a PHP application in an AFS-based virtual host to use OpenID Connect Client for web application based authentication
Resolution
- There are minimum PHP version requirements
- The AFS Virtual Web Hosting service offered by ITS Web Hosting provides server environments for both PHP 7.3 and 8.1
- If your site is currently running on an older version of PHP, you will need to upgrade
- To do so, you need to contact the ITS Web Hosting Team at webmaster@umich.edu to request migration to one of these newer PHP environments
- Your website must be designed and configured for HTTPS only
- If any part of your PHP application is accessible by HTTP rather than HTTPS, you will need to reconfigure your site so all pages are accessible only via HTTPS
- If you are migrating from "mod_auth_openidc" for authentication, you will need to make changes to your site to remove any related configuration and/or module(s)
- Please refer to the Knowledge Base article #8929 "Identify and Remove "mod_auth_openidc" Configurations from an AFS-based Virtual Host"
- You will need to contact the ITS Web Team to request changes to remove any mod_auth_openidc configuration at the web server (Apache HTTPD) layer as well
- Integrate an OpenID Connect library in your PHP application
- Please see the Knowledge Article #8730 Configure a PHP application to use OpenID Connect (OIDC) for more information
Additional Information
Need additional information or assistance? Contact the ITS Service Center.