Hello,
I am trying to dev api in php, the url is for example http://127.0.0.1/api.php / search = debug on my first machine that is under apache and it works. On the other hand, on another one that uses nginx, it does not work, in error.log I have an error like what the file is not a folder ..
I think the problem is either with nginx or php-frm, but I do not see how the fix, please share if you have an idea ...
Thanks
I am trying to dev api in php, the url is for example http://127.0.0.1/api.php / search = debug on my first machine that is under apache and it works. On the other hand, on another one that uses nginx, it does not work, in error.log I have an error like what the file is not a folder ..
Code:
2017 /10/ 8 10 : 08: 23 [error] 2717 # 2717: * 141605 open () "/var/www/api.php/search=debug" failed (20: Not a directory), client: 192.168.15.64 , server:, request: "GET /api.php/search=debug HTTP / 1.1", host: "127.0.0.1"
I think the problem is either with nginx or php-frm, but I do not see how the fix, please share if you have an idea ...
Thanks