I am using a php script which run well but randomly i receive a an internal server error 500. The log file loog like follow:
[Sun Nov 19 10:12:27.765971 2023] [proxy_fcgi:error] [pid 126490:tid 140090852484672] [client 172.191.171.155:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘nvOpzp; AND 1=1 OR (<’">iKO)),’ LIMIT 1’ at line 5 in /home/domain/web/example.net/public_html/viewer/index.php:202\nStack trace:\n#0 /home/domain/web/example.net/public_html/viewer/index.php(202): mysqli->query()\n#1 {main}\n thrown in /home/domain/web/example.net/public_html/viewer/index.php on line 202’
[Sun Nov 19 12:31:14.946233 2023] [proxy_fcgi:error] [pid 190511:tid 140678566770240] (70007)The timeout specified has expired: [client 77.190.134.87:0] AH01075: Error dispatching request to : (polling), referer: https://example.net/backend/?p=markers
[Sun Nov 19 13:04:37.063531 2023] [proxy_fcgi:error] [pid 190510:tid 140677862110784] [client 172.191.171.155:0] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘nvOpzp; AND 1=1 OR (<’">iKO)),’ LIMIT 1’ at line 5 in /home/domain/web/example.net/public_html/viewer/index.php:202\nStack trace:\n#0 /home/domain/web/example.net/public_html/viewer/index.php(202): mysqli->query()\n#1 {main}\n thrown in /home/domain/web/example.net/public_html/viewer/index.php on line 202’
[Mon Nov 20 05:03:29.188039 2023] [access_compat:error] [pid 385521:tid 140678122153536] [client 206.81.1.88:0] AH01797: client denied by server configuration: /home/domain/web/example.net/public_html/server-status
[Mon Nov 20 05:03:33.220758 2023] [access_compat:error] [pid 385521:tid 140678147331648] [client 161.35.27.144:0] AH01797: client denied by server configuration: /home/domain/web/example.net/public_html/server-status
[Tue Nov 21 08:11:02.119536 2023] [proxy_fcgi:error] [pid 647065:tid 140683180496448] [client 159.223.59.130:0] AH01071: Got error ‘Primary script unknown’
[Tue Nov 21 10:47:37.966214 2023] [proxy_fcgi:error] [pid 647067:tid 140682366797376] (70007)The timeout specified has expired: [client 93.129.15.84:0] AH01075: Error dispatching request to : (polling), referer: https://example.net/backend/?p=dollhouse
[Tue Nov 21 11:50:34.562204 2023] [proxy_fcgi:error] [pid 647067:tid 140682350011968] (70007)The timeout specified has expired: [client 93.129.15.84:0] AH01075: Error dispatching request to : (polling), referer: https://example.net/backend/?p=dollhouse
I think one error come from time out of proxy server. Which file is for the configuration of this? And i think the other error is time out from mariadb. Has someone suggestion?