I'm using apache mpm event
and php-fpm
on my CentOS 8 server. I need to be able to make http requests from my server to a php api on my server, so the url of the api would be something like: http://127.0.0.1/~<account_name>/api.php
. there is no problem with the url and the php file gets found on the server, but it generates a 501 Not Implemented
error.
what is causing this error when I try to make http requests to localhost and how to solve the issue?
0 Answers