Depends, endpoint.php routes request paths like eg. /userinfo, no path or / give a 404 Not Found status, because it’s not defined. If you have not installed the openid app, you would also get a 404, but this time from the webserver itself, not the PHP script.
This is from my development system:
RalfsMac:webauthn ralf$ curl -i https://boulder.egroupware.org/egroupware/openid/endpoint.php
HTTP/1.1 404 Not Found
Date: Thu, 05 Sep 2019 06:25:24 GMT
Server: Apache/2.4.41 (Unix) OpenSSL/1.0.2s PHP/7.3.7
X-Powered-By: PHP/7.3.7
Content-Length: 919
Content-Type: text/html;charset=UTF-8
<html>
<head>
<title>Page Not Found</title>
<style>
body{
margin:0;
padding:30px;
font:12px/1.5 Helvetica,Arial,Verdana,sans-serif;
}
h1{
margin:0;
font-size:48px;
font-weight:normal;
line-height:48px;
}
strong{
display:inline-block;
width:65px;
}
</style>
</head>
<body>
<h1>Page Not Found</h1>
<p>
The page you are looking for could not be found. Check the address bar
to ensure your URL is spelled correctly. If all else fails, you can
visit our home page at the link below.
</p>
<a href='https://boulder.egroupware.org/egroupware/openid/endpoint.php/'>Visit the Home Page</a>
</body>
</html>
And this a not existing url from Apache:
curl -i https://boulder.egroupware.org/egroupware/openidX/endpoint.php
HTTP/1.1 404 Not Found
Date: Thu, 05 Sep 2019 06:26:43 GMT
Server: Apache/2.4.41 (Unix) OpenSSL/1.0.2s PHP/7.3.7
Content-Length: 196
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
</body></html>
Ralf