Yii suffix route

Hello, I need your help.

I have embedded a suffix on my rules in Yiii’s UrlManager, but when I try to access the page, I have php showing an error.
The requested resource /web/API/search.php was not found on this server.
I have the impression that the PHP server is trying to retrieve the php file when it does not exist because it is a route with a suffix that redirects to a controller.
Have you ever had a similar problem?

Thanks for your help

Hi Charles, sorry for late reply. Can you share the suffix configuration? Also, how are you trying to access that resource? Is it though Get, Post, via browser or some other method?